Telescope time for JWST is allocated based on scientific proposals. So yes there is to be some obvious scientific justification for observation of Uranus. This is the news release associated with these images.
JWST observation calendar is so tightly booked (demand vastly exceeds supply) that there's essentially no time to waste on anything that has low or no scientific value. Pretty pictures for public outreach are just a nice side effect.