This is mainly due to the protocol: holding hands is not intended for active members of the royal family. Even Queen Elizabeth II did not hold her husband Prince Philip's hand in public. However, Harry and Meghan have given up their royal duties and are officially civilians.
Queen Elizabeth II: Only Harry and Meghan hold hands in Westminster Hall
After the service for Queen Elizabeth II, members of the royal family left Westminster Hall in London with their partners.