I bought an S24 Ultra off ebay. In short, I think the internal components for the S-Pen aren't working. It's never connected. Nor with other S-pens from other Samsung Ultra models.
The seller did state that the back glass has been replaced. I watched a video to see what went into replacing it...