This is an unhealthy practice because rapid weight gain during the first few months can lead to obesity. If he stops crying and calms down almost immediately, then maybe he was lonely and missed your company. Don't be afraid of spoiling your baby with soothing hugs. Babies need to be touched and cuddled. In fact, when parents respond promptly to their babies' cries, the babies cry less in the future.
Some babies are quite sensitive to a wet or soiled diaper.
See if a diaper change makes your baby happier. Your baby may cry because something is sticking or hurting him. Check to make certain that the diaper pin has not come undone. Your baby may be sick. Check to see if he is flushed or has a fever.