I think whenever you feel guilty at all towards a person or about a situation u should apologize. u fucked up let them know u realize that and regret it and leave. no resolution needs to be made. it will all heal in time with a good apology. Even if u hate the person u are apologizing too, u can continue to hate them but apologizing for ur faults in ur interactions will make u feel better.