Did you buy travel insurance? It should help to cover that.
Years ago, when there is a political situation in Bangkok (quite bad), Thai Airways did refund me on a non-refundable ticket. That surprised me.
Last year, I didn't manage to get my Thai Pass approved in Dec for my Feb trip, the hotel refunded my first day hotel stay + PCR.