Some intricacies of the momentum operator in quantum mechanics