It's territorial peeing. Both genders of most species do it. But more should be said of those with cognitive abilities...and thumbs!