How come optical data modulation is faster than that of electrical modulation while optical modulation is done by electricity?
The problem here is not the feasibility of the modulation, but the ability for cables to carry high speed signals.

Especially with long length, it is much easier (and economical) to carry a high speed signal on en optical fiber than on an electric cable.