Neither Jupiter nor Saturn is close to thermal equilibrium, whereas the sun is. Bounded self-gravitating gas spheres in thermodynamic equilibrium can show negative specific heats [The classic LBLB, Lynden-Bell & Lynden-Bell, 1977 <https://adsabs.harvard.edu/full/1977MNRAS.181..405L>]. A negative specific heat capacity reducews the gas's volume as its temperature increases. Temperature in stars and gas giants is mostly lowering due to outward radiation driven by internal processes. Unlike a star, Jupiter's specific heat capacity is positive. Very roughly the sun's excess power output will cause it to grow (this handwaves a complex balance of temperature, pressure, mass, and nuclear fusion as it rises in the main-sequence part of the H-R diagram <https://chandra.harvard.edu/graphics/edu/formal/variable_sta...> -- as it climbs in that region with similar temperature the sun gets brighter because it gets bigger), while Jupiter's power output has been higher (presently about 2.5x) than its solar radiation input yet the planet has probably been shrinking.
The energy input and internal heat budgets are under active study for Jupiter <https://www.nature.com/articles/s41467-018-06107-2> (open access), and will supply further evidence for various hypotheses about "primordial Jupiter", one of which is the topic here. One of the major points of comparison with a star here would be how the former is much more like an ideal blackbody than our local gas giants. And of course there is a dark side of Jupiter, while there is no dark side of the sun.
The energy input and internal heat budgets are under active study for Jupiter <https://www.nature.com/articles/s41467-018-06107-2> (open access), and will supply further evidence for various hypotheses about "primordial Jupiter", one of which is the topic here. One of the major points of comparison with a star here would be how the former is much more like an ideal blackbody than our local gas giants. And of course there is a dark side of Jupiter, while there is no dark side of the sun.