This is really the key point. Or more precisely, that he was legally allowed to carry it into any situation. This case is really a cascade of clear, easily preventable errors that led to the shootings.
Of course, one of those errors was Rittenhouse's judgement. But things went south way before that.