There is no doubt that Hester truly loves Arthur Dimmesdale - despite him not being her husband. She doesn’t say why she protects his identity, but from a reader's perspective, you could tell she’s merely trying to protect him from being embarrassed and going through the series of public torture that she goes through.