Recent water mass changes reveal mechanisms of ocean warming