Both are of fantasy romance genre where the characters are entangled from their past lives, with someone cursed of immortality and someone leading them all to meet again in their present lives. These two shows also slowly reveal the past as you go through the series, showing hints of the historical setting to it.
It's definitely of the same vibes as both are of the historical fantasy genre with spells and magic involved—the likes of witchcraft, talismans, shamans, curses, and black magic in general. Both also showcases the complications from births with sorcery involved, and living in seclusion under a different identity.