When does a predator tend to be larger than its prey?

When the predator is an ambush predator.

Ambush predators are predators that rely on stealth and surprise to capture their prey. They typically lie in wait for their prey to come close before attacking. In order to be successful, ambush predators need to be able to overpower their prey quickly and efficiently. This means that they need to be larger and stronger than their prey.