Softened fruit by heat has rendered it susceptible to vinegar flies, of which a maggot is clearly visible.
Strawberries and Caneberries
Article

Roasting August Heat Creates a Wonderland of Pathologies in Strawberry

Hi folks, I've had some questions lately on how the summer heat has been affecting strawberries, so I thought I'd get some pictures together and accompany them with some comments and insight.

Bottom line is that the heat is really killing the berries.