Although India and Pakistan became independent states simultaneously, they have been travelling in different paths after that. Many believe that democracy is a major reason for the difference in fortune of both countries. Pakistan has been under military rule for a long time during its existence while in India, military has never been involved in government.
What are the reason for this difference (military intervention in government) between these two nations, given that Pakistan and India (at least North India) share a common culture and they had been under the rule of same dynasties for a long time. Also the military tradition and even officers during the early part were inherited from British Raj.