Can you try testing the occurrence of this issue on a different theme as it seems like an AMP related issue rather than a theme related one. For instance, WordPress theme Twenty Twenty One.
It would be good to make a backup of your website before doing this.
Try clearing any caching mechanism set in your website as well.