As you can see, in the last box of information, vaccines are usually created before the flu season starts. However, this wasn't the case for the COVID-19 due to its sudden appearance (there was no warning nor any time to develop a functional vaccine).
And the ones you see in the COVID-19 section above sources: