B does not work grammatically. 'Unable' refers to people, not the ability itself in active voice: ' They were unable'. In 'D', discouraged has a different meaning than the usual: to inhibit; prevent: this solution discourages rust.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.