In my country it's semi-illegal to demote someone. Sure they can put you in a lower skillset position but by law they cannot lower your existing pay. They would need to fire you (without reasonable cause it's a 3 month payout) and rehire you at that lower position/pay.
Def not illegal in the US. But it would be a weird thing to do, as it would not be great for morale. Can’t think of many reasons to lower someone’s pay. Maybe if entire company takes a 10% cut during a crisis or something.