So can we say that the rising edge and the falling edge of the square wave implement a change of energy which resembles one half of multiple sine waves (the first 90 degrees). The bandpass filter will just act on these partial sine waves and produce the necessary output?
If you insist on operating exclusively with edges, we can still perform the analysis; you're just forcing yourself into a corner which is more difficult to work in -- but which, trust me, is no less mathematically rigorous.

To wit: we start with the Heaviside step function u(t). This is defined as zero for t < 0, one for t > 1, and conventionally 0.5 at exactly t = 0, but that doesn't really matter.
The Fourier transform of this function is \$\frac{- j}{2 \pi}\frac{1}{\omega}\$. Don't mind the imaginary unit j -- that just sets the phase, and shows that the phase for \$\omega < 0\$ is positive (+90°), and negative (-90°) else. This is a standard consequence of real-valued signals, actually: that the transform is Hermitian, i.e., the imaginary sign flips when the argument (omega) flips. (I think that's right? I always forget which, or if it's that it's an odd function.)
Note, by the way: this function has considerable power, indeed infinite energy around zero frequency (again, the rate of energy is power; such a function does indeed exhibit power, though only at DC. Which is to be expected, since, well, it's the purest case of "pulsed DC"!) It has very little energy at high frequencies, and does not contain discrete frequencies, but rather a continuum.
Suppose we add another edge, another unit step, time shifted and opposite in phase -- so we get a single rectangular pulse instead. What then?
We apply the time-shift identity, which multiplies the transformed function by \$e^{j \omega t}\$ for a time-shift of
t.
I will leave it as an exercise to the reader to prove, but the result is sinc(omega) = sin(omega) / omega. Give or take phase, since the rect(t) function gives sinc(omega) but rect(t) is centered around zero by convention. But anyway, this is just one of many handy complementary functions we learn about.
What if there's an infinite series of steps, thus making a square wave?
The oscillation of the sinc function continues to be reinforced by interference; in fact, at infinity, the interference is so strong that the only peaks left are infinitesimal in width (usually written \$\delta(\omega)\$). And there's an infinite series of them, and their amplitudes happen to go as 1/N.
We might simplify this and instead write the original function as a sum of sines or cosines, with their amplitudes and phases given by this solution. Then we can dispose of that nasty delta impulse function, and get the Fourier series representation.
So, after all this process --
In the iterative sense, we have "caused" sine waves to exist, by using an infinite series of equally spaced, complementary edges. Although, say you wrote a program that adds up infinite edges and finally calculates its transform -- it can never finish. So again, it isn't very meaningful to "cause" this to be, if it can never be computed directly, say.
What caused the universe to exist, or God (if you are of a religious sort -- take most world religions* for example on this one)? It isn't a meaningful question; they simply exist.
*Interestingly, several major ones teach a (finite) beginning to the universe, or to their god(s), putting a more human (finite) touch on things than the western Abrahamic ones do. Perhaps a theological analogy isn't the best after all.

Tim