Maybe your bath water was to hot. Also epsom salt mildly detoxes your body so its important to drink a lot of water during and after ur bath.
I get that way if I get to hot in the shower/bath. Hope you feel better!
I've had Epsom salt baths since I found out I was pregnant. It really helps prevent swelling etc. I'm now 25 weeks so I'm sure it was a coincidence. Hope you feel better soon.