Why dont all birds not fly and why dont they say where its warm all the time ?

birds have adapted (evolved) to their environment by flying. That allows them to catch food, escape from predators and avoid bad weather. they also fly to migrate. as to why they migrate - see
https://www.allaboutbirds.org/the-basic … migration/