Because gays not being able to marry is an injustice, an unfairness, oppression, etc. Priority #1 is to stop doing harm to those people however it can be implemented. We didn't* say "Oh black people should have rights, but let's postpone that until we can come up with the best possible way to write it in legislature"
*racist people did in fact use that argument