After having laparoscopy for endometriosis I had been feeling depress. Does that have anything to do with the hormones?

Not from surgery. If you only had surgery without subsequent medications then it may depend if you feel the surgery helped or not. If it did not help your symptoms of pain then you may become depressed from the poor result. If you are on any hormones then this may cause you to have mood swings and symptoms of depression. You should really see the doctor who operated on you and ask if your depression can be helped.