Maybe some people have some really strange fetishes that are not socially acceptable. But that doesn't make it right. It could also be that they are trying to shock their friend in a very inappropriate way, not realizing how offensive it can be. In any case, it's not a healthy or normal thought process.
It could be due to some very misconstrued ideas about discipline or punishment. Maybe they grew up in an environment where spanking was seen as a form of correction and they wrongly think it can be applied in a friendship context.
Miracles. The Bible is full of them, like Jesus turning water into wine. These go against the normal rules of nature, similar to what's in fantasy novels.
Maybe some people have a very abnormal state of mind. They might be attracted to the wrong person due to some personal issues they haven't dealt with properly, but this is still unacceptable. It could also be that they are in a state of extreme impulsiveness without considering the consequences.
Lack of loyalty. If in a dangerous situation, the person shows no sign of standing by you or protecting you, then you'll know they're not worth your life. For instance, if you're in a fight and your supposed friend runs away instead of helping you, you'll realize they're not someone you should sacrifice your life for.
In some cases, it could be related to a desire for exhibitionism, which is a psychological trait where a person gets sexual arousal from exposing themselves. However, this is considered abnormal and unethical behavior in real - life public settings.
Some people might consider it because of a sense of privacy. Bathrooms are small, enclosed spaces that can seem like a private area. But this is a wrong perception as bathrooms are not meant for such activities.
Well, in a story, the friend might be playing a prank with some new technology they don't fully understand. There are some fictional technologies that can manipulate the body's physical form. Also, the friend could be under the influence of a curse or a hex that causes them to involuntarily turn others into different genders. It could also be that the friend is exploring some sort of spiritual or esoteric practice and makes a mistake during a ritual that results in the transformation. For instance, if they are trying to communicate with a gender - changing spirit and things go awry.
There might be a lack of proper training for the dog. If the dog has not been taught appropriate behavior, it may engage in licking people's feet. Also, the dog could be seeking attention from the girl, and licking is one way it tries to get that attention. Additionally, in some cases, it could be a natural instinct related to exploring their environment through taste, although feet are not a proper object for this in human - dog interactions.
One reason could be a misunderstanding about privacy, like thinking everyone is out of the house when they're not. Another might be a sudden and unexpected situation such as a clothing malfunction while changing quickly.
In some fictional stories, a character might consider it because they are in a situation where they are feeling unloved or unappreciated in their own relationships. But this is no excuse. They might also be influenced by a sense of envy towards their best friend's relationship, thinking that having his wife would somehow make them feel better. However, all these reasons are just wrong and unethical justifications in the real world.