It’s an understandable mistake to call Star Wars “science fiction.” There’s no real science in it. It’s more mystical. It’s really a fantasy adventure set in space with futuristic trappings.
I don't think Star Wars and Star Trek are more appropriately lumped in with Lord of the Rings, then stuff based on Azimov and Heinlein.
Couldn’t have futuristic trappings because it was set in a galaxy “a long time ago.”