Lilibet was the late queen's childhood nickname, and Harry adored her. It wasn't spite, I think it was an attempt to name her after the person rather than the monarch.
https://nanowrimo.org/participants/christine-seaforth-finch
http://christineseaforthfinch.blogspot.com/