Bathtub and other drains will usually gurgle when there's no venting to the drain or something is trapped in the drains vent not allowing air into the drain which helps the drain actually work.
If it just started happening then likely something is just stuck in your bathtubs drain pipe vent either near the bathtub or up on top of the roof or wherever the drain is vented to the outside.