A gear warning makes me wonder about their airspeed.
Most gear warnings (TAWS or other) take into account thrust lever position or airspeed to only give warnings when thrust or airspeed is low, in the landing realm.
If they were slow enough to get gear warnings perhaps they didn't have the speed or power to climb safely above terrain once they spotted it?