Have you started taking any new medications lately? When I had cramps both on and off the bike that were severe, it was the particular prescription I'd just started.
Otherwise if you've been doing most everything else the same as always, then maybe just ask yourself if maybe you've been going too hard in hot temperatures that you aren't fully use to yet.