It might, if he isnt happy with what you're feeding him
My guys are indoor cats. I give them the Purina Indoor Formula and buy the 9Lives canned food. I give them each a 1/4 can in the morning and a 1/4 can for supper. I used to forgo the wet food (it smells) but after one of the cats had a UTI, the vet suggested bringing it into the diet.
I also feed them
this Basically I just mix it with the Purina stuff in their dry food feeder. They like it, they'll literally scoop away the Purina stuff to get at the Science Diet stuff.
If he pisses on you again, vet time. Could be an infection.