Because television and games are classified by different bodies using different criteria. A TV rating weighs broadcast standards and what's considered acceptable at a given hour, while game ratings assess interactive content — and interactivity tends to push a rating up.
Add the fact that the game leans harder on the show's crude humour and violence, and an 18+ classification stops being surprising.