The fundamental reason for the wavelength dependance of refractive index ($n$), in fact the fundamental description of refraction itself, is the domain of quantum field theory and is beyond my understanding. Hopefully somebody else can provide an answer on that subject.
However, I can state that it isn't just silica that has a wavelength dependent $n$. In fact, every material has some wavelength dependence, and this property is called dispersion. In optical materials, the dispersion curve is very well approximated by the Sellmeier Equation:
$$ n^2(\lambda) = 1 + \sum_k \frac{B_k \lambda^2}{\lambda^2 - C_k} $$
usually taken to $k=3$, where $B_k$ and $C_k$ are measured experimentally. As far as I know this equation is not derived from theory; it is completely empirical.
(This is an intuitive explanation on my part, it may or may not be correct)
Symbols used: $\lambda$ is wavelength, $\nu$ is frequency, $c,v$ are speeds of light in vacuum and in the medium.
Alright. First, we can look at just frequency and determine if frequency should change on passing through a medium.
Frequency can't change
Now, let's take a glass-air interface and pass light through it. (In SI units) In one second, $\nu$ "crest"s will pass through the interface. Now, a crest cannot be distroyed except via interference, so that many crests must exit. Remember, a crest is a zone of maximum amplitude. Since amplitude is related to energy, when there is max amplitude going in, there is max amplitude going out, though the two maxima need not have the same value.
Also, we can directly say that, to conserve energy (which is dependent solely on frequency), the frequency must remain constant.
Speed can change
There doesn't seem to be any reason for the speed to change, as long as the energy associated with unit length of the wave decreases. It's like having a wide pipe with water flowing through it. The speed is slow, but there is a lot of mass being carried through the pipe. If we constrict the pipe, we get a jet of fast water. Here, there is less mass per unit length, but the speed is higher, so the net rate of transfer of mass is the same.
In this case, since $\lambda\nu=v$, and $\nu$ is constant, change of speed requires change of wavelength. This is analogous to the pipe, where increase of speed required decrease of cross-section (alternatively mass per unit length)
Why does it have to change?
Alright. Now we have established that speed can change, lets look at why. Now, an EM wave(like light), carries alternating electric and magnetic fields with it. Here's an animation. Now, in any medium, the electric and magnetic fields are altered due to interaction with the medium. Basically, the permittivities/permeabilities change. This means that the light wave is altered in some manner. Since we can't alter frequency, the only thing left is speed/wavelength (and amplitude, but that's not it as we shall see)
Using the relation between light and permittivity/permeability ($\mu_0\varepsilon_0=1/c^2$ and $\mu\varepsilon=1/v^2$), and $\mu=\mu_r\mu_0,\varepsilon=\varepsilon_r\varepsilon_0, n=c/v$ (n is refractive index), we get $n=\sqrt{\mu_r\epsilon_r}$, which explicitly states the relationship between electromagnetic properties of a material and its RI.
Basically, the relation $\mu\varepsilon=1/v^2$ guarantees that the speed of light must change as it passes through a medium, and we get the change in wavelength as a consequence of this.
Best Answer
The wave only refracts if it enters the medium at an angle. Follow a single wavecrest; if the wave is entering the medium at an angle, then part of the wavecrest enters the medium first, and starts to slow down, while the other part of the wavecrest is still going fast, and therefore the wavecrest must bend. If the wave enters at a right angle, then the entire wavecrest is slowed down simultaneously and no refraction occurs.