Why does McDonald’s not own the Big Mac trademark in EU anymore?

Global fast food chain McDonald’s recently lost the Big Mac trademark in the European Union, with a patent office ruling against it.