Transaction from bitcoin core is different from the explorer
The problem is with getrawtransaction command in bitcoin core. It doesn't recognize the SegWit input which is why it decode/deserialize the transaction incorrectly (wrong input txid and negative amount in output).
https://bitcointalk.org/index.php?topic=5014781.0