Usually, hand wash detergent would has more foam and bubble than machine wash detergent; and therefore it's not good to be used in machine or it may damage the machine and/or the washing result would not be as good as it should be.
But on the other hand, to use machine wash detergent for hand wash is no harm at all but just less foam and bubble. However, the washing result may not be good either.
The best way is to use the right type of detergent for the right wash.