Your sale in late 2024 was a wash loss, and the loss was disallowed. That loss is added to the cost basis of the stock you subsequently bought. It is not carried over to your 2025 tax return, but will only be "realized" when you sell the stock last bought.
Please read this IRS document.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"