People here are misinformed and think everything is a hoax in Thailand.
These officers just do their job. Visa excemption is 30 days you are even lucky that he counted the 60 days straight away even though it’s not guaranteed that you get the 30 day extension if something happens where you can’t get it.
Every other country has far more hoops to jump through
Did you came back with a fresh passport or a passport full of Thai visa stamps and covid visa extension? Did they say anything about those stamps or why you stay so long in Thailand?
you should do the retirement visa, it’s more Safe and no they won’t tell you beforehand, they will stamp you the 7 day denied stamp in case they refuse to give you another covid extension visa.