The Brits believed it would be a healthy place for soldiers and East India Company employees to recover from the ills of the plains, but above all they found the area strategically useful for controlling a pass into much-contested Nepal.
At that time, Nepal was in turmoil, and everyone wanted to conquer it.