The gas tube should have a small amount of play in it where it enters the upper receiver. It shouldn’t drag on the gas key though. Did you bend the gas tube trying to install it?
ETA: Separate the upper and lower. With the upper flipped upside down, slide the bolt and carrier back and forth observing how the gas tube enters the carrier key. The carrier key inner diameter is chamfered to aid in the gas tube aligning with the key during cycling. If the carrier key drags slightly on the gas tube but enters fine I would let it go. If the carrier key impacts the gas tube not allowing the two to mate you could try slightly bending the gas tube in the correct direction.
Sometimes a misaligned barrel nut will bind the gas tube to one side, but this doesn’t seem to be your problem since you say the gas tube has play.