Like a "friend" dream, this might be a projection of ones self.
When we do a wrong deed to others, it is possible the mind takes the view of that person and experiences their feeleings.This also might be a way to act out your feelings toward something that happened to you earlier in the day.
This is yet another reason to live by the Golden Rule.