Squash plant looks good and gets lots of blossoms. Then the female flowers get the squash, they get about 3 or 4 inches then dehydrate.
Why Does My Squash Get Wrinkled and Fall Off
Certified GKH Gardening Expert
It sounds like a pollination problem. These articles will help: