Why do rabbits spray urine?
They are spraying to "mark" their territory. It is to tell
all other animals that this area belongs to them, plus all living
things need to urinate sometime!
However if your rabbit is a male, they also spray urine as
a sexual activity. You might get sprayed, but that is your rabbit
telling you that it needs a female in its life.