In X-Men 2, Iceman telling his parents he was a mutant was written and played as a “coming out” scene.
People tend to identify with aspects of fictional characters which in turn make them like the characters. If there was a character you couldn’t identify with at least on some level, chances are you won’t like that character.
Some people see Elsa as an LGBT character because of her experiences, they identify with her experiences as similar to their own on a metaphorical level.