The only other American president who bowed slightly once was Nixon. Otherwise, it's established that American presidents do not bow to monarchs. And the heads of states of other countries do not bow to the Emperor of Japan. Obama's bow made the Emperor and his wife feel really embarrassed. Japanese media did not even want to publish the pictures to spare the embarrassment.
Somebody in Obama's protocol group does not do a good job in instructing the POTUS.