When I graduated high school, and was in line to submit my college application, I heard a bunch of people mention that they'd applied for engineering and medicine and would take whatever they got.
Another reason, specific to guys is that it increases their chances of getting a bride from a "good" family, and also the potential dowry he could get. Software jobs tend to take you abroad more often than other jobs, and, believe it or not, there are some communities in India that will raise dowry prices based on the number of US immigration stamps you have on your passport. Yeah, officially dowry doesn't exist.
Lastly, some people study engineering simply because they're really good at it. I've encountered hundreds of people who really had the aptitude to be engineers.
Disclaimer: I'm Indian but I studied Physics, Chemistry and Mathematics. No one would give me a job after I graduated even when I cleared all interviews and written tests.
I don't have an authoritative answer to your question, but I know that there are marriages where no dowry is involved at all.
Being an engineer always provided a possibility of getting a decent job, but the trend was accentuated after the advent of IT Services companies thriving on outsourced work. This in conjunction with a large number of private engineering colleges setup in the 1990's, meant engineering became an easy ticket to getting a decent paying job. And at the end of the day, money matters especially in a poor country. (Btw I'm an Indian living near Delhi, before someone thinks I'm just trying to bash the country.)
On the positive side, things are changing for better. Post economic liberalization in 1991, there are plenty more opportunities for young (& old) people to earn a good living. Overall, economic development coupled with information revolution are paving the way for this and the future generations to take more risks and do what they want, rather than worry about basic necessities of the life.
I was around 10 in 1991, and I have literally seen things/attitudes change in front of my eyes. (May be everyone thinks the same ..). I am very hopeful and optimistic that more people would now start getting in to different things/professions.
Easy in the sense of "action X leads to outcome Y". Not easy in the sense of "IIT is a party school"!
In US a history or philosophy major can survive, and even run big companies (like LinkedIn) or go for a law school
Money. Respect in society.
Hmm Money isn't fundamental to why people choose one job over another?