The sensation of weightlessness occurs because the spacecraft and everything inside are in free fall - both are accelerating toward Earth at the same rate (equal to g). This creates a state of continuous free fall, where apparent weight becomes zero. There's still gravity in orbit; it's what keeps the spacecraft orbiting.