The economics of selling branded clothing has been very well understood for 50 years. The markup for slapping a logo on a T-shirt is massive. Plus, it's a form of crowdsourced, word-of-chest advertising.
And Mozilla already has designers on staff. It's unlikely they had to do any extra hiring for this.