Why do cats like to fart on people's heads?
1. Cat social behavior
Cats are relatively intelligent animals, but they also have social needs. They communicate through body language, vocalizations, and scent. Toxins are also an important component of a cat's scent. When they fart, they release a distinctive odor that can convey information.
In the wild, cats use this distinctive scent to mark their territory and communicate with other cats. In a domestic setting, cats consider family members as part of their territory and use this behavior to convey messages, express a sense of belonging, and show affection. 
2. Aids in cat's digestion
Cats are carnivores, and their gastrointestinal tract requires a relatively large amount of animal protein to maintain normal growth and development. However, digesting animal protein is not easy for cats. Therefore, for cats, farting helps them expel gas accumulated in their intestines, thereby relieving the discomfort of indigestion and bloating.
3. Some discomfort was reported.
Sometimes, a cat farting on a person's head isn't necessarily for social or digestive reasons. If they appear uncomfortable or unwell, this behavior could be a message. For example, they might be feeling anxious, tired, or in pain. Farting on a person's head at night might indicate a need for more attention, entertainment, and companionship.
4. Cat's instinctive behavior
Finally, this behavior could simply be an instinctive one for cats. Cats belong to a unique animal category with a strong ability to protect themselves and conceal their prey. Passing gas is a scent-producing behavior, and this could be to help them mask their own odor and better hide themselves.
Summarize
In general, cats farting on people's heads may be for social, digestive, communication, or instinctive reasons. However, we should also learn to observe cats' body language, appetite, and behavior to determine the reasons for their farting and provide them with appropriate attention and care.