Some eggs pop or crack when you boil them, what's to say the sun doesn't have any boiling effect on the earth?
Quite frankly, if the sun released enough energy to boil the Earth, we would get fried first.
People seem to think that, given the fact that flares can alter or affect the planet's magnetic field this would be enough to alter the flow of magma streams and cause earthquakes. The idea is ridiculous, quite simple because of the magnitude of the forces involved. If you want to understand, try swimming out to sea and pushing against a moving oil-tanker.
The Earth's magnetic field is a result of the spinning of the planet's iron core, and that spinning core also affects the flow of magma in the mantle. The core spins on an axis that isn't aligned with the planet's axis, which is why the magnetic north pole and the real north pole are in two different places. If solar flares were going to have any lasting effect, the poles would shift every time we saw a solar storm. They don't. The movement is constant.
If you're wondering where I'm going with this? The movement of the tectonic plates (which I just mentioned) is pretty much constant as well. Japan sits on a subduction zone - a subduction zone I would like to point out has been there for several million years. Those plates are moving towards each other and have been doing so for some time - those earthquakes are always waiting to happen. The big March 11 quake was preceded by a magnitude 7.2 on the 9th of March - 2 days before the big flare. There was another 7.1 quake on the Ibaraki coast yesterday (with a 0.5m tsunami), but no associated flare.
In the end, its a complete coincidence. Solar Flares happen all the time. Earthquakes happen all the time as well. There are approximately 500k earthquakes each year, of which about 100k can actually be felt. Basically, 300+ earthquakes per day. The USGC estimates that there are approx 18 - 20 major (7.0+) earthquakes per year on average.
If you're going to be looking at sun vs planet effects on each other - it's actually much more likely that the planets in the solar system are involved in causing the solar flares (which are a result of disruptions in the sun's magnetic field). If you're going to be looking at possible gravitational causes, need I point to a damn big rock floating 300,000km away? That actually has a noticeable effect on the Earth, which to this point seems limited to tides. Hasn't ripped up any plates yet.