Obviously thew water didn’t “take” with Simon the Sorcerer.
Again, Cornelius received the Holy Spirit when he believed, no hands on needed, whereas these Samaritans didn’t receive it till they had hands on from the Apostles.
I’ve read that at the first God had an orderly method to bring salvation. First Jerusalem, then Judea, then Samaria, then to the uttermost parts of the world.
Yet we read that the Apostles preached to “none but the Jews only.” for a while. then the word came to Samaria, then St Paul was called to preach to the Gentiles afar off.
In each case it was according to God’s timetable how they would receive the Holy Spirit.