He is anthropomorphically speaking.
God often conveys His actions in a way that relates to our human experience.
For example, we may read that "God's wrath was stirred," but that is only a phenomenological analogy of what is swift and immediate divine justice. We interpret that quick act of justice in a way that presents Him emotionally involved. However, God Himself cannot be emotionally triggered, for He is beyond such things. He is illustrated in a way that resembles a man's actions as the consequence of his personal feelings.
God is depicted in Scriptures as mocking the wicked, like in Proverbs, because they, having ignored His way, have fallen into many snares. However, we can look at it in a different light and say, instead, that God's calling love is the obstacle in men's ways, so they fall into many snares.