Certified GKH Gardening Expert
It is bolting. This article will explain more:
My first thought would be if you're growing it in a greenhouse it got too hot. Broccoli is a cool weather veggie and would prefer cooler temps then would be in a greenhouse during the summer.