Scroll down to "Giant Planets"
"The formation of giant planets is an outstanding problem in the planetary sciences."
It's not an outstanding problem. Their problem now is bureaucracy. The problem is solved. The star cools and dies from its plasma to its gaseous state. When it does this it loses energy and shrinks.
Wikipedia articles are easy to tear apart.