His throat is blue mainly because he experienced drunk poison, which erupted away from The ocean through Samudra Manthan (churning in the ocean). Hence, he usually wears a cobra around his neck to mitigate the effects of the poison. The name Neelkantha (Just one who may have a blue throat) https://martinhovch.azzablog.com/29323330/a-review-of-shiv