My yellow straight neck squash's blooms wither then turn black!

MY yellow straight neck squash has beautiful plants full of blooms. When they get a couple of inches long they start to wither up then tips turn black. What's up??
  3 answers