Hello
As per symptoms you have spinning sensation while lying down which can be vertigo
Don't understand your earthquake like feeling still...
But yes if u don't have nay other symptoms , than ear can cause episodic vertigo along with heavyness and sound in ear sometimes.
You can change medicines for this
As per your age very less likely to be serious so don't worry
Next Steps
you can take ENT consultation for better understanding and treatment