I would say get him help, paw checked, and neutered. This might calm him down and he might not feel so territorial. Sometimes the pain can cause them to be more irritable, just like us humans.