A small number of capitalists did get rich selling ivermectin. We all noticed the emergent social media energy toward ivermectin and someone was going to sell it at a profit.
The FDA noticed that this had stature on algorithmic social media and made the mistake of trying to also get on social media. FDA does not prevent doctors from picking a treatment. FDA does not criminalize anything. But FDA is required to try to protect people even if they don’t believe in the FDA.
A small number of doctors sued because of that social media messaging. Not because ivermectin was better than or safer than a vaccine.