This is inspired by a comment that I got on another post, but I wish people - both pagans and the general public - would realize that so much of the horrible stuff that deities do in their myths is usually (not always, but often) explained by considering what those deities allegorically represent.
Zeus is so horny in Greek mythology because he represents the fertile rains and weather which literally impregnates the land and the lives of mortal humans. And the myths about his wrath, like when he strikes Asklepios with lightning, is just because lightning is known to do that sometimes!
Hera punishing Zeus' affairs isn't because she's petty and has too much power, but because she's a goddess of marriage, so of course she's working to uphold fidelity! Most of the time that was probably just to reflect her role as a goddess of marriage in the story and her power as the Queen of the Olympians, so it was a reflection of her domain rather than just a tale of her jealous wrath.
Hades kidnapping Persephone and taking her to the underworld makes complete sense when you view it as death kidnapping spring to the underworld in autumn, after which she returns to the world in springtime and brings new life with her mother, a goddess of nature. That's literally just how seasons work.
Aphrodite is so fickle and unpredictable in myths because that's just what love is like. Love can either be the best thing in your life, or can absolutely ruin you. She's not a vengeful goddess, love is just like that sometimes!
Sutekh/Set is a personification of necessary chaos, so his battles with Horus and Osiris, gods of rulership, makes complete sense. It represents the war between order and chaos that all civilizations contend with.
The Morrigan both curses Cú Chulainn and promises The Dagda victory after he sleeps with her because she's a war goddess, and war can either end your life or grant you victory depending on how you approach it. Cú Chulainn rejected The Morrigan, which could be interpreted as an act of cowardice since she represents war, and so she ends up killing him, like a fearful soldier dying in battle. Meanwhile, The Dagda embraces her by sleeping with her, which represents a brave soldier taking on war, so of course he gets granted victory instead!
Loki's more wicked myths are simply related to his role as a trickster within Norse mythology, and most tricksters across the world have some particularly gruesome myths to their name. Loki is a bit complex because his role in the pantheon is a little less clear than that of other gods, but he was obviously associated with chaos and trickery, like Sutekh, so it's not surprising that he pulls some nastier tricks here and there. Also, I would like to point out that his myths about killing Baldur and betraying the Aesir at Ragnarok actually make total sense when you factor in what Odin and the rest of the Aesir did to his kids. If Odin imprisoned two of his kids and Thor is constantly trying to kill the other one, then him killing Odin's son actually seems pretty understandable.
Paganism is an inherently earth-centric religion, and the gods we worship usually embody certain natural or societal forces, and those forces aren't always nice. So the allegorical nature of our deities is a key part of their identities, just as much as their myths or personalities are, and we need to consider what they represent when we discuss them too.