I'm pretty new to PLO and can't figure out why the Q

in my hand doesn't give me a flush (and the winning hand)?
PokerStars |
$1.40 + $0.10 Pot Limit Omaha Tournament - 0/20 -
2 players
Hand #95469949396 - delivered by Pokeit
Hero:
1,476 (
73.8 BBs)
SB:
1,524 (
76.2 BBs)
Pre-Flop: (30) Hero is BB with
Q♦ 9♠ 2♠ A♠
SB raises 20 to 40,
Hero calls 20
Flop: K♦ 6♠ 3♦ (80) (2 players)
Hero checks, SB checks
Turn: 9♦ (80) (2 players)
Hero checks, SB checks
River: 7♦ (80) (2 players)
Hero checks, SB checks
Final Pot: (
80)
(2 players)
(1,436) Hero shows
Q♦ 9♠ 2♠ A♠ (a pair of Nines)
-40
(1,564) SB shows
9♣ J♥ 4♥ 7♠ (two pair, Nines and Sevens)
+40