Punch line lost

Matt: A giraffe walks into the library puts his head down and falls asleep

A person walks in and says to the librarian, ” who’s that lying there”

Librarian says, ” that’s not a lion that’s a giraffe’

Me: ha ha ha ha!!!

Lily: What did the Giraffe do?