What causes tub drain to gurgle when toilet flushed?
Two options. Air is going in, or air is coming out.
&quot;Gurgle&quot; is caused by air being forced through the water in a fixture's trap. It's similar to the &quot;glug&quot; generated when you pour milk quickly from the milk jug.  It's air being forced through liquid, in an attempt to equalize pressures.
Air in
Vents placed strategically throughout the plumbing system, typically provide an adequate amount  of air. If the vent(s) get clogged/blocked/restricted, pressure differences inside and outside the system will develop.  If these differences in pressure are large enough, air will be forced through fixture traps in an attempt to equalize the pressure.
In this case, clearing vents; or adding additional vents in the case of improper venting, will usually resolve the issue.
Air out
If a large enough object (liquid and solid waste) is moved through the system fast enough; in such a way that the object blocks the entire internal pipe diameter, a high pressure zone can be generated on the front side of the object.  This high pressure zone may be able to force air out through fixture traps, as the object travels through the system. Think of it like the plunger of a pop gun.
In this case the solution is to increase the diameter of the pipe, eat less fiber, use less toilet tissue, or decrease the flush power of the toilet.