IF you’re actually curios, it was because we used to import them, and the importers would dye them red due to discoloration in how they were harvested. Domestic production ramped up in the US and since pistachios didn’t have to travel as far, and because modern harvesting was more mechanized. It was easier to wash, dry, roast and salt them in a shorter time period avoiding the discoloration that required the dye in the first place.
I also figured this was just a “let’s screw with the youth”-type post. We used to eat pistachios all the time when I was a kid (I’m 35) and I don’t think I’ve ever seen a red one before today. They were always beige/greenish.