You are trying to flash firmware that isn't exactly for your model (e.g., flashing Redmi 10A software on a Redmi 9A).
: Many modern MTK devices require an MTK Auth Bypass Tool to disable security before SP Flash Tool can communicate properly. sp flash tool status ext ram exception