Does America have any legal obligation to help fund and fight Ukraine’s war?

I watched the Oval Office meeting like everyone else today, and while Zelensky was definitely treated horribly, I get why Trump and JD were frustrated.

3 years on of financial and military support and still no sight of the war ending. It’s not like there’s a defense treaty signed or anything. What do you think?