Epic breached the terms of the agreement for their app, so their app was removed from the App Store. Other than needing to fix their app to no longer be in violation of the guidelines, they could have cured that breach of the contract.
Instead Epic decided to sue Apple in court.
According to the Apple Developer Program License that you agree to (section 11.2 specifically) states:
> This Agreement and all rights and licenses granted by Apple hereunder and any services provided hereunder will terminate, effective immediately upon notice from Apple: > (a) if You or any of Your Authorized Developers fail to comply with any term of this Agreement other than those set forth below in this Section 11.2 and fail to cure such breach within 30 days after becoming aware of or receiving notice of such breach;
and section (f):
> (f) if You engage, or encourage others to engage, in any misleading, fraudulent, improper, unlawful or dishonest act relating to this Agreement, including, but not limited to, misrepresenting the nature of Your submitted Application (e.g., hiding or trying to hide functionality from Apple’s review, falsifying consumer reviews for Your Application, engaging in payment fraud, etc.).
This is not retaliation, this is simply following the license agreement that Epic agreed to.