Cats generally reach social maturity between two to four years of age, at which point they may become more territorial and test boundaries with other cats to establish a social hierarchy. This can often lead to increased aggression as they solidify their position.