"Заниматься" is not a transitive verb (because of "-ся"), that's why it can't be followed by the accusative case.