Mind melds, Q magic, and the Prophets from DS9 are all overt magic. Like why can only Vulcans do mind melds? If it were science you'd be able to create a technology that would be able to do it. But nah in Star Trek, they don't even try to develop technology to do mind melds because it's something everyone knows only Vulcans can do... because it's magic.
When Q was temporarily human, he mentioned being able to change physics constants. Geordi wasn't like "holy shit that totally changes how we think about science" he's just like "we can't do that because we aren't Q."
The powers that aliens have in Star Trek is treated as being magic by the people in the universe. Some aliens just have magical abilities and nobody questions it.
Meanwhile in Star Wars, all of the powers the Jedi have are explained by microscopic organisms that can be measured with a device. Sure nobody likes that, because we actually do want Star Wars to be fantasy and not science fiction. But (for better or worse) Star Wars is more science fiction and Star Trek is more space fantasy.