This is because of USB communication errors. Either there's a loose contact somewhere in the USB connectors (don't touch the cables / connectors while you're working with Remote and the camera is turned on), or it's a faulty cable, but most likely it's a conflict with another camera-related app (e. g. Photos, Gallery, etc). Find and exit that app.