It's not a question of morals, but a fundamental requirement for the publicly traded stock market to function.
If insider trading is allowed, the market will turn into a game called 'who has the best insider information'. No one will buy or sell stocks based on public information alone, because they will always be at a disadvantage.