I think it was a risk / reward analysis.
1) What is the (potential) risk of a mask mandate? What is the (potential) reward?
2) What is the (potential) risk of the vaccine? What is the potential reward?
Can you provide an answer to those questions as if you were a policymaker / public health official / politician?
What were the actual positive / negative consequences (using hindsight)? For example, if you want to cite higher rates of myocarditis and pericarditis, you need to specify numerically what the increased rates are (hint, I looked them up).
Yes, this is the sort of analysis that should be done, but it is complicated when you're doing things that are illegal. As an economist, I'd call it cost/benefit analysis.
First of all, you should attempt an honest assessment of the potential benefits based on the best quality evidence you can find. Just having a fantasy about a potential benefit is not a good basis for making policy.
1) With mask mandates, the potential reward was a slight decrease in the rate of infections. This might seem more attractive if you have a vaccine that you hope will be effective in the near future. However, the costs are all over the place depending on who you're trying to mask. With small children, masking risks hindering language and learning for perhaps a generation. It seems little thought was given to this cost. With a mandate in stores, you have the cost of diverting labor from other functions and you create social conflict: I know of at least one murder that was precipitated by a mask mandate. You also have to factor the negative costs imposed on those who otherwise wouldn't wear a mask.
The problem was that health officials knew that the best empirical evidence from randomized control studies in actual humans (rather than lab models) showed no benefit to masking for respiratory infections, even with n95s, even with trained health professionals. Subsequent studies still haven't shown any benefit, which is why the Cochran review found that quality evidence for masking as public policy doesn't exist. This is when the lab engineer crowd go to war with the randomized control epidemiologists. In lab settings on dummies, the masks seem to work. Apply it to actual humans and you don't get any evidence of it working.
2) The potential risk and reward to the vaccine was also all over the place. Many physicians believe that the reward to the elderly and those with comorbidities such as diabetes and obesity was high, so it was worth any potential risks. With the young, evidence of potential benefit is minimal and basically non-existent for children. Two FDA vaccine safety officials resigned rather than approve boosters and shots for children due to lack of evidence of benefit.
Myocarditis is still a topic of dispute, so looking up some numbers online isn't dispositive. I've seen numbers as high as 1/10,000 risk for young men from the vax as mentioned in this article. Given the lack of benefit to this same group, risking myocarditis is irrational.
https://www.drvinayprasad.com/p/myocarditis-long-term-new-video
And I haven't even gotten into the costs of the mandates which are still playing out.