This is because June 21st marks the summer solstice in the Northern Hemisphere, and the Sun reaches its highest declination, meaning it is directly overhead at the Tropic of Cancer.
Therefore, on June 12th, which is close to the summer solstice, the sun will be very close to being directly overhead at the Tropic of Cancer at noon.