How interfacial dynamics controls drainage pore-invasion patterns in porous media