Its to prove you are really married and the cert is not a fake. As its a muslim country you are not allowed to be here as a couple if not married.

I sent ours off before before coming and they were posted to Qatar as it took around 4 weeks to do. We then found out my husbands education and Open Universety certs needed to be attested too and as we were already here we found it to be very costly.