For a substantial portion of its flight, a spacecraft is an aircraft. A first stage like the Super Heavy doesn't even necessarily exit the atmosphere. Super-Heavy's intended MECO & stage separation is 65km, well below the accepted 100km "edge of space" definition. Super-Heavy is an aircraft, Starship is both an aircraft and a spacecraft.
A spacecraft isn't an aircraft.
https://www.law.cornell.edu/uscode/text/49/40102#a_6