For NYC proper, they are close enough to the ocean for Seabreeze cooling effects. When land heats up, it rises. The "missing" air at the surface has to be replaced. If you are close enough to the ocean, cooler air along the surface will rush in. Morristown NJ may be far enough west not to be affected by an afternoon sea breeze.