What is the effect of the following sentence?

The teacher caught the student chewing gum.

OPTIONS: (A). The gum stuck to the student's shoe.. (B). The student spit out the gum..
The answer is:
(B).