My son cries during his sleep.... so much

Hes 4 months old. I prat at night to not let him have bad dreams because im thinking its that but then my husband said he maybe feels alone and scared in his crib.. so idk😥 what is going on with him.. hes a light sleeper too