Is this a set line scared of a flush draw?

PokerStars No-Limit Hold'em, $0.10 BB (8 handed) - Poker-Stars Converter Tool from FlopTurnRiver.com

SB ($16)
BB ($5.05)
UTG ($13.75)
UTG+1 ($10)
MP1 ($5.85)
MP2 ($10)
Hero (CO) ($14.80)
Button ($6.35)

Preflop: Hero is CO with K, A
4 folds, Hero bets $0.40, 1 fold, SB calls $0.35, 1 fold

Flop: ($0.90) Q, 6, 2 (2 players)
SB bets $0.40, Hero calls $0.40

Turn: ($1.70) 10 (2 players)
SB bets $1.20, Hero folds

Total pot: $1.70 | Rake: $0.05