Maybe someone [else also] did not want people to log in and run commands via ssh and therefore made the system only allow running sftp.