Passport control is often handled behind the scenes and not blatantly obvious to the passenger. I have stamps in my passport from countries I never actually visited due to my being quarantined aboard ship. I also visited many countries by ship where there is absolutely no passport stamp.