Maybe it wasn’t. Does the Log window say that SpamSieve predicted these messages to be spam?
Please make sure that you’ve turned off the SpamSieve rule, as described here, as on macOS 14 it will move everything to Junk without consulting SpamSieve. SpamSieve will usually turn it off for you, and explain why, but a lot of people seem to turn it back on, thinking they know better.