https://pets.stackexchange.com/questions/31403/is-a-cat-urinating-on-clothes-a-sign-of-something-notable
I was curious so I asked vet.
Apparently, if cats have a problem with/don't like someone, they might pee on that person's clothes.
But sometimes, they find that they like it better than the litter box and it just becomes a habit to pee on clothes regardless of how they feel about the person.