CX-7 engine maxing out at only 2000rpm

:
2011 CX-7 2.3T
So yesterday my cx7 was getting a bit weird, it’s only maxing at 2000rpm and won’t go further. At first I’m suspecting the throttle body or the intake filter, but before I can just buy and fix them, I need to know what causes it, anyone know what caused this problem?