The Logical Fallacy of Appeal to Guilt / Appeal to Shame occurs when guilt or shame are used as a reason to believe in something. This is generally used in concert with another fallacy such as unsupported assertion or outright lie.
“Can you believe it? He said that homosexuality is a sin. He ought to be ashamed!”