After having experienced this as an adult in a romantic relationship I realized that I had been conditioned to accept this kind of behavior from my childhood. My parents used to laugh at me when I was 10 years old and say that I "wanted to be a victim" after they had beaten me. That is just one example but I think the favourite context for people to gaslight is the context of abuse.
That adult relationship taught me a very painful lesson and now I run away from these people as fast as I can. It is now in the list of questions I ask myself if I start to get uncomfortable with what another person is doing, irl or online it's on the list to ask myself "are they gaslighting me"?