It is about "face". People in many cultures do it. Not just Thailand.

Western marriage can cost a fortune only to divorce a short time later. Thais spend a fortune on ordaining a 20 years old boy, only to see him out and doing the same as he's been doin before 3 months later. Chinese dine like emperors on special ocasions, the scratch and scrimp long after that.

Face!