Firebending abilities aren't mana abilities. They use the stack and can be responded to.

Artwork
Loading artwork…
Fire Nation Cadets
Avatar: The Last Airbender · #134 · EN
Nonfoil—Foil—
Card rules
This creature has firebending 2 as long as there's a Lesson card in your graveyard. (Whenever this creature attacks, add 
. This mana lasts until end of combat.)
2: This creature gets +1/+0 until end of turn.
1/2
Fire Nation training ensures that even the smallest flame burns into a raging inferno.
Common · Illustrated by Rafater
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You must have a Lesson card in your graveyard while you attack with Fire Nation Cadets in order for the firebending 2 ability to trigger. If you put a Lesson card into your graveyard after Fire Nation Cadets has attacked, Fire Nation Cadets will still gain firebending 2, but the ability will not trigger.
Multiple instances of firebending on the same creature trigger separately, each granting you the appropriate amount of mana.
"Firebending N" is a keyword that represents the ability "Whenever this creature attacks, add N
. Until end of combat, you don't lose this mana as steps end."
Mana from firebending abilities isn't lost until you leave combat and go to your second main phase. It can be used at any time during combat, even after combat damage has been dealt.
Any other mana you add during combat will still be lost as normal when moving between steps of combat.