When you sleep your brain organizes and stores your experiences allowing you to retain that information, along with emotion, later on. When you go to bed after a fight, your brain stores those experiences in your long term memory. Which leaves a long lasting impression on you. This makes it harder to resolve those issues later on. Make sure to resolve any negative experiences before bed.