Its a good airplane and apparently a reliable system. The mode of employ of the glide bombs is also logical, given what they perceived as the AA environment. The Ukrainians just pulled a tactical surprise on them.
The USAF would likely have done a similar thing, using, probably, F-16s, with SDB’s (small diameter bombs, which are glide bombs). Perhaps the USAF can achieve a greater range for its SDBs than the Russians with their glide bombs, but the true range of the air dropped SDBs is something everyone has been rather cagey about.