Could of happened when you pick them up and introduced them to the tank and or dipped them. Don't know how cold the water was in the bag/bucket/cooler, but this could be it.
Oh i remember this my Fish had it before. If you crank up the heater a bit it usualy goes away. But if thats stressful for the rays i would just wait it out.