It sounds like separation anxiety - and also, as a Mastiff, he is still a puppy at that age. There are many threads on separation anxiety here, do a search, and you will find many helpful results!

This is NOT an insurmountable problem, I promise!