Not sure where you are shopping, or what you are buying, to say groceries are cheaper in the UK. I suppose if you are buying imported UK food then yes, but otherwise any local produce in Thailand is really cheap compared to the UK.
Any of the following are cheaper in Thailand, electricity, internet, transport, running a vehicle, local meat, fruit, vegetables,
The cost of most things is cheaper because the labor cost to do anything is cheaper.