This is far from the truth. You attacked first casue we suffered massive starvation due to the failiure of "Great Leap Forward", Nehru think it would be a very good chance to fish in trouble water. More importantly the relationship between China and Soviet Union deterioriate in 1960 , and the support from Soviet union made Nehru believe India could Defeat China easily.
This is a misunderstanding. It is true that Nehru was a complete fool. But he was quite friendly towards China, in the 1950's.