I noticed that webp files created by PHP 5.x imagewebp() (eg. by reading in a JPG and outputting as WEBP) - with no animation or transparency (Alpha channel) - were not able to be decoded either by Windows (7 with google's webp patch) or by PHP imagecreatefromwebp(). The latter would return the following messages: gd-webp cannot allocate temporary buffer ... is not a valid WEBP file
I then upgraded to PHP 8.1, and now when I output the same images from imagewebp() they are now read fine by both Windows 7 and by imagecreatefromwebp().
Thus it appears that older PHP versions have an issue where imagewebp() outputs some 'questionable' data which does not prevent browsers such as FF or Brave from properly displaying the image, but does prevent PHP 8.1's imagecreatefromwebp() from being able to decode the file.