That actually makes sense from an immigration point of view.
If you enter on a tourist visa or visa exemption, but at the same time present an invitation letter from your Thai partner stating you are about to get married, it clearly shows a non touristic travel.
Tourism is supposed to be short term and without local ties. Having a Thai partner, upcoming marriage and repeated long stays naturally raises questions for immigration officers.
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.