I think Tom is a religious person. This attitude was shown in the lines “the prayer has not yet finished.” But it also contrasted his action of grabbing the fly. I think he conflicts with his belief and his curiosity over things that catch his attention.