The term you're looking for may be conceit, defined by TV Tropes as:
In literature, a conceit is an idea, collection of ideas, metaphor, structure, or other imagined device which defines or enables the world of the story, or some action in it. Conceits can be obvious; if a book is about space explorers who question their humanity upon discovering life on Mars, the conceit is that there is life on Mars. Originally the term was used much more specifically, to refer to a deliberately chosen juxtaposition that rarely or never occurs naturally (life/Mars), used as a means of revealing the unique properties of the items or ideas being juxtaposed. Its usage has become much broadened.
How well explained they are depends on the genre of fiction. Hard science fiction often does have an explanation, while soft science fiction and fantasy either give an unrealistic explanation or none at all.
Some sources call them "fantasy conceits" when they are fantastical elements specifically that define the story. From the The Four Cs of Fantasy Worldbuilding:
Creative deals with how often and to what extent the constructed world deviates from the real world.
Jemisin calls this “element X,” and it is also known as fantasy conceits, or what the creator wishes to examine in the world. The creative component is also what makes the genre fantasy in the first place since it’s made up of the unreality the audience craves. This is why we read the genre, after all.
Each fantasy conceit can create massive changes to the world in question, and it’s worth noting that Harry Potter only has three major conceits: 1) magic exists, 2) otherworldly creatures like goblins, giants, and dragons exist, 3) ghosts exist. Yet a whole world was wrought from those changes to the extent that there are now theme parks dedicated to its worldbuilding. Even Middle Earth, the granddaddy of all modern worldbuilding, in only has about five fantasy conceits total, yet still holds our attention 70 years later.
Tolkien was the first to point out that anything in the world not covered by one of the fantasy conceits must adhere to the audience’s understanding of the real world. So rivers should not flow uphill UNLESS that’s a integral point of the worldbuilding that the author intends on exploring. Tolkien also believed that all fantasy conceits should be explored to their fullest, and named changes made to the world that have no effect “nominal changes.” Nominal changes, to Tolkien, were just window dressing used to make the world feel exotic without putting in the real work of making it logically sound.