He personifies animals and objects to create a more playful tone.
Instead of just having the characters of Pyramus and Thisbe, Shakespeare gives the inanimate objects like the wall and the moon, and animals like the lion actual lines. This creates humor, especially because the actors are so bad, and sets it apart from the original myth.