Why do flowers bloom in the spring?

Not all flowers bloom in spring. Those that do so largely because they need to set fruit or seed and have it mature before winter.

In the winter, the fruits would not be able to withstand the cold and freeze. Sometimes, the flower's petals will wither during and die in the winter, so they must bloom during the spring, the season of warmth and new life.