I have a small peach tree in my garden area. Since it’s winter, and peach trees are deciduous, my peach tree has not one leaf on it. This didn’t dissuade my tree from popping out dozens of blossoms in the 80° weather we’ve had lately. The tree is totally incapable of photosynthesis, without leaves, but it still wants to bloom.
I’m hoping that it will bloom out again in the spring, when the blossoms have a chance to become real fruit!