If that is a sunset launch that is the moon’s shadow and has nothing to do with the shuttle’s contrail except coincidence.
It's actually a sunrise launch. The moon is full when the earth is (relatively) on a line between the sun and the moon.
Also, you can tell that it's not the moon's shadow since the shadow extends beyond the moon in the picture.