I have an i5-10400F , the SSD is 2.5 inch. I tried every possible sata slot. I edited the initial post, I did input the wrong SSD there, sorry. It's a 860 EVO.
FIX : There was a feature pre-enabled in BIOS which I missed, intel rapid storage technology, turned it off, everything good now.