A cat might swat at people for a variety of reasons. It could be a playful gesture, especially if the person has dangling jewelry, long ponytails, or anything that looks shiny. If startled, a cat might also swat at a person as a natural defense mechanism. Additionally, they may swat at you to get your attention, initiating playtime.