What kills the mood at parties and how to deal with it?

Typically it’s someone who starts beef with someone else/doesn’t know how to make peace for a couple hours for the sake of everyone else. I would either ask this person to leave if you can, or if that would escalate the situation, just know not to invite this person again.