NBA rules stipulate that a player cannot continuously use the same foot to fall to the ground after closing the ball or controlling the ball. (Upon ending his dribble or gaining control of the ball, a player may not touch the floor consecutively with the same foot (hop).).
James landed with his right foot twice in a row, so he was blown by referee Ed Malloy.
Details of basketball rules