Why do my onions look so bad?

Spinosad is technically “off-label” for onions, but I imagine following the “root vegetable” directions would be ok.