In my case, I think it was the lack of pollination. Now that I understand the issue, I think I can explain what I saw with the yellow squash last year and even the zucchini on occasion. I have plenty of bees in my yard but I think there are too many other attractive options. I'm going to be hand pollinating both going forward.
I'm sure Daisyl can speak more eruditely on the subject.