As more lung tissue dies and granulomas get bigger, cavities develop in the lungs. This allows lots of bacilli to spread when the child coughs.