A lich is a kind spirit turned desperate to come back. They attach and feed on living energy to manage that. If a living person tries to send them on or interact with them after their departure (like touching a gravestone or the spirit itself), they're targeted by the spirit.