I don’t think it was fuel related as you hadn’t really burned enough calories for it to be that.
So I’m guessing it was hydration or heat related. Next time you might think about drinking more before and during the ride and also adding some electrolytes before and while riding.
I take electrolyte capsules along with fluids and those really help me, but I’m in pretty humid area.
__________________
Ride your Ride!!