Can anyone tell me why me 6 year old son soils himself AFTER a bowel movement?

He thinks he is passing gas but will poop a little instead. He used to hold in his poop but has been going daily(may miss a day here or there) for about 6-months. It happened once at school bringing my fear to life. PLEASE HELP!