US ambient food manufacturer B&G Foods booked saw a drop in first-quarter earnings as higher costs offset sales gains in the period.