The Scottish Parliament and the Scottish Government aren’t the same thing. The Government is made up of MSPs who are are members of the political party that is in power now, while the Parliament is made up of every MSP.
The Commissioner is independent of both the Scottish Government and the Scottish Parliament.