That is because you either just received a text or a call on your phone. Set your device to “Do not disturb”. That will solve the problem.