If Pakistan had not accepted the demand to stop cross-border infiltration and the United States had not conveyed to us Pakistan's guarantee to do so, then nothing could have stopped a war.
India was secular even when Muslims hadn't come here and Christians hadn't set foot on this soil. It is not as if India became secular after they came. They came with their own modes of worship, and they, too, were given a place of honor and respect. They had the freedom to worship God as per their wish and inclination.