Star Trek is fantasy masquerading as sci-fi while Star Wars is sci-fi masquerading as fantasy. Both fandoms get really upset when the mask starts to slip on either.
Star Trek is a fantasy in the same vein as the Odyssey. Go somewhere on a ship, encounter magical creatures, get into a problem that’s resolved with a moral lesson. The magic of the creatures is never really explained in the Odyssey beyond the magic just being inherent in those creature. Same goes for the magic of various aliens in Star Trek. Vulcans can do mind melds because that’s a magic only Vulcans possess. Can it be studied and reproduced by others? Nope. It’s magic inherent to being a Vulcan.
It also should be noted the resemblance between Star Trek races and classic Tokien races. Vulcans are Elves, Klingons are Orcs, Romulans are Dark Elves.
In Star Wars people have magical abilities like telepathy, telekinesis, and prescience. These abilities are present in Star Trek. But in Star Wars, these abilities aren’t inherent in being a certain species. And the ramifications are explored. People might build religions around those who have these abilities. Maintaining a galaxy wide civilization would be difficult on its own, but you add in an X factor like certain people having the ability to control people’s minds that have holy wars against each other, it’s likely there would be a constant cycle of collapse, rebuilding, then collapsing again. So you’d expect some feudal power structures to form on some planets during the dark ages of a galaxy like this. So it makes sense that princesses, knights, wizards, pirates, gangsters would all exist in a galaxy that has holy wars between groups that have mind powers.
But people like Star Wars to be a fantasy with mysteries about how it came about. It is set in another Galaxy and started in the middle of an ongoing story. So many people aren’t going to like over-explanations, at least not in canon, because it takes away the mystery and makes it too obvious that Star Wars is actually sci-fi.
Star Trek is fantasy, Star Wars is sci-fi. Just nobody wants to admit it.