it wasnt bowing as in prostration before allah, only he is deserving of that. it was to show respect that indeed man was superior because allah had given man knowledge and the ability to learn where as the angels only worship allah without free will.