The reason why this was asked is baffling to me. If you don't want to go, then do not go . I assume the AP was an adult. Adults don't need to resort to tricks like trying to get rejected: adults can just reject the invite themselves.
Under such a scenario the refusal of entry would appear to be something she can't control; plausible deniability is there at least. Thus she could avoid staying without appearing to have been disobedient, instead appearing to have been subject to the authority of the immigration control.
Now the line about having relatives at the airport makes me think this is probably a hypothetical.
How would things pan out if she simply hands herself over to the immigration officers and says that she's there under duress, that her husband is illegally resident and that he intends for her to unlawfully remain in the USA against her will? Presumably entry with intent to stay beyond the limits of one's authorisation is unlawful and would normally meet with deporting?