What are the risks of trading during earnings announcements?

Why is trading during earnings announcements considered risky, and what are the potential downsides?,