The reason for this migration is more in the new generation as compared to the previous generation who are living there from the beginning and somewhat settled with their mindset and are completely satisfied. It is the new generation who want to live in the modern society which have technology and more growth chances and therefore they prefer to migrate to urban areas.
Technological advancements have contributed to rural-urban drift. Jobs in farmlands or rural industries are no longer fancied by the younger generation. They now prefer to work in big tech firms in cities that also pay higher wages. Life in rural areas is also seen as boring since there are more social activities in urban areas.
Personally, I also prefer urban areas more than rural areas, for modern education, advanced technology, and modern living, people must go to urban areas. To get a good job, we must go to urban areas, we will never get high-paying jobs in rural areas, and in terms of facilities, there is definitely more certainty in urban areas, in addition to better medical care, everything is more diverse in terms of quality of life.
I prefer living in rural areas because of the quality of life. There is less pollution, crime rate, and less exposure to GMOs. Since there are fewer vehicles, population, and industrial activities, you would enjoy nature at its best. Most people in rural areas grow their food, so you would unlikely to buy artificially grown or preserved crops. But the impediment is the lack of quality social amenities in rural areas.