It’s hard to say. But non-linearities can lead to gradients that go to 0. For example if you give as input to a relu layer values that are all negative.
Or if you give to tanh values that are large in absolute value.
Note that if you initially have gradients and then it goes to 0, that means that your model is properly converging a minimum value of the loss function that you provided.