The two-year Treasury yield is a market price for money over the next two years. Most of a Federal Reserve cycle, if there is one, fits inside that window. When traders reprice the path of the policy rate, the two-year note is the instrument that has to move.
The ten-year yield includes that path and then a long stretch of uncertainty after it: inflation, growth, the supply of bonds. It can ignore a single meeting that the two-year treats as urgent. Or it can move more, if the meeting changes the long story.