Sustained temps over 85 can cause it ...
I had an accidental litter in late June of 6 kits , 5 of them didn't make it past the first day , they basically melted. The other was brought out to momma only at night for the first three weeks.
Does struggle enough with delivery , add in the heat...