A host of things could lead to heat-up but, generally speaking, if your car is fine while running and heating up while stationary, the first thing you should check is if both the fans are working. Happened with my 8th Gen when I had just bought it (2nd hand) and it heated up very quickly in the first traffic jam I encountered. When I got home I checked the fans and sure enough one of them was not working.