On the oscillation of differential equations with an oscillatory coefficient