At best, our picture of human history is incomplete. Historians routinely compress concepts to what they understand, and their compressions become The Understanding.
For example: historians often assumed all relationships between two men were platonic because they were raised in a society with enforced heterosexuality. Their lens became the story. Alternate explanations, like trying to read a character as queer, can fall victim to the same conformation bias. You can look to more recent times to, for example, see Native culture crushed legally and compressed until people believe running around in mass produced war bonnets while hollering respects the culture.
Loki, however, was definitely genderfluid and pansexual.