Dehydration causing cramps/worsening cramps?

I always understood that dehydration can worsen cramps, but two emerg docs told me that it's not likely that would have anything to do with them. 🙄