German soccer club Mainz terminated the contract of Dutch forward Anwar El Ghazi on Friday following his social media posts about the Israel-Hamas war.