Spontaneous generation theory is that living organisms can arise by non living things.
This theory follows the concept of abiogenesis where there is non living parent for a living child.
The appearance of maggots from rotten meat is the idea of abiogenesis, this creates a living organism with a dead parent.
The rotten piece of meat is a non living object but still maggots were formed from this.
Therefore the correct answer is B.