"from the hand of Egypt and from the hand of Pharaoh": from the great serpent, viz. (Ezekiel 29:3) "the great serpent sprawling in its Nile, who said 'Mine is the Nile and I have made it for myself.'" "from under the hand of Egypt": from under subjugation to Egypt.
The Hand of Egypt and from the Hand of Pharaoh from
Mekhilta Tractate Amalek 3:40