To address the question of how the Egyptians had any animals after Dever, Rashi (9:10) quotes the Mechilta
ואם תאמר מאין היו להם הבהמות והלא כבר נאמר (פסוק ו) וימת כל מקנה מצרים, אלא לא נגזרה גזרה אלא על אותן שבשדות בלבד, שנאמר (פסוק ג) במקנך אשר בשדה והירא את דבר ה' הניסה את מקנהו אל הבתים.
How did they have animals, after it already said "And all the Egyptian animals died"? Rather the decree was only on the ones in the fields, as the pasuk says "on your animals in the field", and the ones who feared Hashem brought his animals into the house.
That explains how there were animals susceptible to Shechin, how there were animals to move inside during Barad, and how there were horses to pull the chariots to the Yam Suf. But the pasuk (9:21) says explicitly that there were also Egyptians who didn't fear Hashem and who left their animals in the fields during Barad.
Where did they get animals from? If they feared Hashem enough to move their animals inside based on a drasha in Hashem's words, then why didn't they do the same when He told them to do so explicitly?