The depression soon made landfall on the peninsula and weakened before entering in the Gulf of Mexico on July 4 . The depression soon made landfall on the peninsula and weakened before reemerging in the Gulf of Mexico on July 4 .