Say which format you want back
Photo compression writes JPEG unless you ask for something else. For a WEBP image that is often not what you want, so say "keep it as WEBP" or "compress to WEBP", and the options are worked out for WEBP output.
There are good reasons to switch, too. Some older programs and upload forms do not accept WEBP, and a JPEG opens almost anywhere. The JPEG still has to come out smaller than your WEBP, or ToolGPT reports that it did not. JPEG cannot store transparency, so transparent areas become white.