30y is keyed to inflation expectations.
If fed hiked to 5% tomorrow, 30y would invert and yield would go down.
It's not as simple as hikes lead to higher 30y yields.