Your 22H2 USB already works.
The 24H2 image is likely incomplete / not USB-bootable.
Insert your working 22H2 recovery USB (the one already recognized).
Make sure: USB is at least 32 GB
Insert 22H2 recovery USB
Boot with Volume Down + Power
Select Recover from drive → Fully clean
Wait for installation to complete.
After setup:
Go to Settings → Windows Update
Click Check for updates
Install all updates