Dreams are fairly unexplained yet, but apparently they are often influenced by real life experiences along with the possibilities you have (or can imagine) to deal with those.
Then again, dreams can be very absurd, illogical and incoherent with anything that would normally occupy your thoughts.
But any dreams that resemble situations that you are dealing with in real life are probably attempts of your mind trying to cope with those. Unconsciously seeking answers and such.