When the charge on the capacitor is zero, it offers no resistance. The circuit behaves as if it is short circuited. So, as no resistance is offered, a very small voltage will produce a very large current.
The relations $\mathcal{E}(t) = \mathcal{E}_{\mathrm{m}} \cos \omega t$ and $i = i_\mathrm{m} \sin \omega t$ are valid only after transients die away. So, initially, consider that the charge across the capacitor is zero. If we apply the voltage, the electrons trying to come to the capacitor from the voltage source will face no opposition. So, the current will be high. As the charges accumulate on the capacitor, they start to repel the electrons trying to come from the source. Thus, current decreases. As the voltage increases, the charges are not able to flow as the voltage across the capacitor plates increase.