Why the order matters so much
People usually try to compress the full-resolution photograph down to 100 KB and are disappointed by the result. That is the wrong operation.
At 4000 × 3000 pixels, a 100 KB budget gives the encoder roughly one byte for every 120 pixels, and the result is a blocky mess. At 600 × 600 — which is what the form actually wants — the same 100 KB is enormously generous, and the photograph looks clean.
Resize first. The size limit stops being a fight almost immediately.