It’s neither.
I disagree. It’s both.
You cut the rest of the paragraph just to disagree. I meant it’s neither on its own as it is both.
Well, splitting hairs here but you’re statement was that it wasn’t either genre, but a third genre that was a combination of the two. I disagree, I think it’s both genres simultaneously, as well as many others.
But you can see it however you want it to see. Some people say it’s a western (well, at least the first one) while others think it’s some deep religious film which has some weird father-son psychology layers where a man needs to confront his father to become a man or something (I’ve heard this angle before and it’s a stretch - I mean, it has that element but the analysis of this went way deeper than I could explain here. Just pointing this out before someone says it’s exatly that.).
Obviously as with any film it is very open to interpretation, but it’s worth noting that the genre mashup was very much intentional on the part of Lucas. His inspirations were vast and varied - not just Flash Gordon space opera but John Ford westerns, WWII dogfight flicks, Kurosawa samurai pictures, Curtiz pirate movies, and various fantasy and mythological literature.