Lost on this one, since when the upper is assembled, you first need to make sure that the hand guard/barrel nut top spine is aligned to the upper receiver gas tube channel. Hence gas tube should float between the two to start with, and when you push on the tube up and down in the upper receiver, should have movement.
Next, with the bolt removed from the carrier so you can dry fit the carrier with key into the upper, carrier with key needs to be used to make sure that the gas tube is correctly aligned with the carrier key. If the gas tube needs to be tweaked to align it with the carrier key, then tweaks to the tube should be made over the middle of the barrel.
As for front gas block, it's gas passage should be aligned with the barrel gas port (centered), and as stated, gas tube gets tweaked over the center of the barrel to align with the carrier key.
So either barrel nut passage and the upper receiver passage are not aligned to allow the gas tube to free float through the two, or the gas tube was not tweaked to correctly align with the carrier key.