Answer:
When you pushed the knot in, the space inside the bottle decreased, and the balloon probably deflated. In the same way, when the diaphragm relaxes the chest cavity decreases, and air is pushed out of the lungs, and we exhale. When you pulled and pushed the knot further the balloon inflated and deflated more.