"My bird loves me but hates my husband."
It is unlikely from what we have learned about the parrot's brain that your bird 'loves or hates' either of you, at least not in the same sense that people love or hate each other. It does however make perfect sense that a companion bird would attempt to choose someone in the household as a potential mate. Remember we are thinking natural and instinctual. Once a bird has identified a mate, any others making advances towards them or their mate would be perceived as an intruder. The parrot's job (to be successful in the wild), would involve driving the intruder from the territory. This is accomplished through posturing in an attempt to look larger, color display, and vocalizing. In most cases the perceived intruder will leave and the dispute would be considered settled. Occasionally, the first bird may be the one driven off by the newcomer. In either case it is almost unheard of for any actual physical contact (like biting) to take place during the confrontation. Once the dispute is settled the pair can then continue nest building, courting, and rearing their young.
In our homes when a bird has come to perceive someone in the household to be their mate they are often geared towards driving perceived intruders (other family members) away - especially when their perceived mate is in sight. It is easy to see why it is very confusing for parrots when the perceived intruder does not take such blatant (no flock member would misunderstand this in the wild) hints to leave. The situation is not considered by the parrot to be settled and the territorial behaviors used in the attempt to drive off the perceived intruder may be regularly repeated. These futile attempts to drive them from the territory may lead to frustration and desperation in the bird. In the home, as in the wild, the bird will posture, show colors, vocalize (scream repeatedly) and now may even bite. This may even cause the bird to bite their perceived mate in an attempt to get their assistance. This can be severe if the perceived mate is interacting with the perceived intruder rather than helping to defend the territory.