Why do many San Francisco homes have working toilets in the middle of their garages?

I’m half-ways to having a urinal at the back of my garage. When I installed an outside sink & water on the outside back wall, I added a pipe into the garage for eventual urinal.

IF I ever complete that project, I intend to use a large funnel for the input end. Or one of these: