My understanding was that they went extinct because they needed more calories to stay alive (due to their strength) and also they stayed together in smaller groups of ~10-20 people, compared to humans' ~100 people groups.
When Neanderthals came into contact with humans, they were either absorbed into or outcompeted by human groups