You have done so well and have lost so much weight! Excellent.
When you are tired you are physically run down..and your emotions can easily seem negative. Get some rest. You will feel happier when you wake up..and can get yourself back on track.
Try getting mellatonin to help you sleep. Also increase your exercise.
Take care of yourself. You are worth it!