So why is Qatar denying homosexual marriage. It allows bigamy and incestous unions (first cousins).

Frankly I see no problem with bigamy as long as all parties are consentual and have participated in a psychological assessment. But incestous relationships get into an area of consent that is harder to prove and health problems for potential children that make it difficult to allow.