had to be = necessarily so, for some reason, without doubt
Your sentence is a good example.
Thought there may be other answers, Joe's answer had to be the best as it was clear & first.
= "was', usually with some reason, often implied as in your sentence.