The most straightforward halachic source would appear to be the prohibition of chanufa, falsely flattering a sinner by implying that his/her sin is permitted. (This is different than a vague statement of "you're an okay guy.") Rabbi Moshe Feinstein has a responsum in Igrot Moshe (OC 2:51) concerning giving synagogue honors to sinners. (He explains that chanufa is implying the sin is okay; synagogue honors aren't that specific.)
The notable source is Talmud Sotah, 41b:
וכשהגיע ללא תוכל לתת: תנא משמיה דרבי נתן באותה שעה נתחייבו שונאי ישראל כלייה שהחניפו לו לאגריפס אמר ר' שמעון בן חלפתא מיום שגבר אגרופה של חנופה נתעוותו הדינין ונתקלקלו המעשים ואין אדם יכול לומר לחבירו מעשי גדולים ממעשיך
[King Aggripa, whose ancestry was not Jewish, read the Torah out loud and began to cry when he reached the verse you may not appoint a king who is a foreigner; the rabbis responded fear not, you are our brother to appease him, but this was false -- halacha would have prohibited giving Aggripa the Jewish monarchy.] It was taught in the name of Rabbi Natan -- "at that moment, the "haters of Israel" [a euphemism for the rabbis] deserved to be wiped out, for falsely flattering Aggripa. Said Rabbi Shimon son of Chalafta: "the day that Aggripa beat the [prohibition against] false flattery, all justice was corrupted, all deeds wrecked, and no one any longer claim their actions any better than any one else's.
The argument I've seen is that attending an intermarriage is equivalent to endorsing the sin or otherwise saying "it's okay." (This is different than how one regards an intermarried Jew, at which point we're talking about the whole person, not the particular sinful action.)