This is a troll post, and I'll bite.
The reason insider trading is illegal is because it undermines confidence in the markets by establishing a pattern by which insiders with privileged, secret information leverage it to profit off people who cannot access this information.
It also incentivizes insiders to leverage their position within a company to manipulate the business in order to profit. This also undermines integrity of markets.
Your second example, setting aside all your troll bait inflammatory verbiage about moral bankruptcy, is an illustration of this risk. I don't care if it rises to the level of moral bankruptcy, it is harmful to a capitalist society in a serious way.
Your first example is a depiction of someone leveraging information that anyone can gather. It does not undermine the integrity of markets because it is just an investor acting on publicly-accessible information.