I encountered a similar issue on Optimism network yesterday. MetaMask notified that the transaction failed, but it actually went through.
That would be good to report it to the support team via the following link. Please click the large blue box, “Start a Conversation” as shown in the image attached and report it.