You and friendly creatures within 10 feet of you have resistance to damage from spells.
Does this resistance to damage from spells also apply to physical damage that explicitly occurs as a result of the spell?
For example, the bones of the earth spell deals 6d6 bludgeoning damage if a character is pinned by the pillars. This damage is purely physical, but comes about as a result of the spell.
Does an Oath of the Ancients paladin have resistance to that damage?
This question is distinct from damage that may result incidentally from the spell being cast, such as using telekinesis to drop something on an enemy. I'm asking specifically about damage that is listed in the text of the spell, but seems to be non-magical in nature.
I'm aware that this can be up to DM interpretation; I'm mostly looking for some RAW basis, if there is any.