genres are used to provide a classification for a movie, so in my mind they are fluid.
For example.
if you are trying to decide what part of a product catalog to list it in, you will be using one set of criteria, and will probably list it as Sci Fi
if you are talking to a friend and comparing Star Wars to any other sci-fi movie, you are then more likely to reach for more descriptive, specific genres, and will say that Star wars is more of a Space Fantasy than your typical sci-fi story.
Unless you are familiar with what the rare SF/Fantasy cross over story looks like. It looks nothing like Star Wars. There is no subtle attempt to disguise extraordinary power and it is pure magic let loose. I’m a long time fan of Asimov, Heinlein, Brooks and Tolkien and I have never considered Star Wars anything other than science fiction.
One of the key tropes/hallmarks that makes most Epic Fantasy is the nature of the forces of evil. Not only is their leader corrupt and twisted, but the forces themselves are corrupt and twisted. In both mind and body. At times they stories verge on horror due to the nature of the evil that infest the armies and agents of the chief antagonist. And typically the side of good is relying on some great talisman. This deep and pervasive evil is completely missing in Star Wars. Palpatine is relying on the force, but also on human frailties. He plays politics and uses his skill in that area to maintain control while pretending to be the puppet instead of the puppet master. Stormtroopers are just soldiers. It is about humans subverted by an evil leader, not by evil itself which is where most fantasy takes you. The struggle in fantasy brings the good and evil battle into the world where Star Wars puts the battle internal to each individual. So to me, Star Wars is nothing like any fantasy story I’ve encountered. It is too rooted in reality.