Your marriage is done, you already got what you needed and a refund on your money. Why would you question it? Just enjoy being married and spend it on a nice meal and some drinks with your wife
I've been five times in the last year. I usually only stay a few days then leave. I was quite surprised that last two times I seem to be under scrutiny on entry even though my trips are short, I am often visiting with family and clearly am not living in Thailand. Immigration can be a bit overzealous at times.
It's a curious paradox of Thailand that different government departments seem to be constantly at odds of whether to encourage more foreign presence and spending in the country or restrict entry and/ or kick them out. For a country whose economy is entirely dependent on tourism their approach to foreigners is extremely inconsistent.