Jesus is the Lamb of God / Passover lamb
Here’s what it means
Jesus is the innocent sacrificial one whose death takes away sin and secures redemption.
Why the Bible says it this way
The writer uses a picture to explain one thing by describing it as another.
A helpful detail: The comparison is rooted in real biblical sacrifices and Passover. It does not make Christ’s death unreal or merely inspirational.