Your baby has developed a sleep association. The sudden loud cry is due to overtiredness. At 4 months their sleep patterns mature. I actually wrote an article on this. Feel free to check it out. http://sgsupernanny.com/4-month-sleep-regression-what-is-it-what-can-you-do-about-it/