For example, when one says "that apple tastes good", obviously they don't mean that the apple is tasting anything - apples can't taste. Rather, the person eating it does the tasting.
You can also see this in the southern US when people say things like "I'm gonna learn you a thing or two". The person talking in that example is teaching, not learning. The person they're speaking to is learning.