のに vs ので — I used のに in an essay and my teacher marked it wrong

I wrote 「雨が降っているのに、傘を持っていないので、困っています」and got a comment saying the のに clause felt off. I thought のに and ので were basically the same 'because' structure?
Post
沐學 Mizuru