The math and physics theory behind the phrase "pitch for speed, throttle for rate of climb" is what you're after. First, let's talk about what it means.
In a video game or in your first intuition, it may make sense to 'nose up go up, nose down go down'. Likewise, your intuition and simple video game may behave by 'more throttle is faster, less for slower'. But that isn't how airplanes really fly in equilibrium (steady) states.
"Pitch for speed" means that controlling pitch (usually via trim) is the pilot's primary control for airspeed.
"Throttle for rate of climb" means that changing the throttle is the primary pilot's control for rate of climb.
In level equilibrium (steady, level flight, the state we spend most of our time in), Lift is equal to Weight, and Thrust is equal to Drag.
In a steady climb, we have (where $\theta$ is the climb angle and $RoC$ is the rate of climb).
$L=W \cos (\theta)$
$RoC = V \sin (\theta) = (T-D)V/W$
We can derive these equations if you'd like, but we can answer your question with just the steady-level flight version (i.e. $\theta$=0) $L=W$. The rest is needed to explain 'throttle for rate of climb'. Which is likely to be your next question.
Next, we write the lift equation in coefficient form.
$C_L = \frac{W \cos (\theta)}{q\,S}$
Where $q=0.5 \rho V^2$, the dynamic pressure. And $S$ is the wing reference area.
Let me know if you don't know where the definition of lift coefficient comes from. For now I'm assuming that you already understand that.
We solve that equation to put $V$ on the LHS -- just to emphasize it.
$V = \sqrt{ \frac{2\, W \cos (\theta)}{C_L\, \rho\, S}}$
Of course, starting with the level flight version...
$V = \sqrt{ \frac{2\, W}{C_L\, \rho\, S}}$
This equation was derived based on 1) Summing forces and setting them equal to zero (Newton's laws) and 2) The definition of lift coefficient (how aerodynamic forces change with density, size, and airspeed). That is it. This equation must be true (in steady-level flight) unless you find fault with Newton's laws or the definition of lift coefficient.
How does this answer our question? How does this lead to "pitch for speed"?
You want to change (control) the aircraft's equilibrium airspeed -- $V$. To do that, while keeping this equation true, you must change something on the right-hand-side to make it true. What on the RHS does the pilot have control over? Let us consider our options.
$2$ - The pilot is unable to change the value of two.
$W$ - The pilot has some control over the weight of the aircraft at takeoff. And during flight, fuel burns reducing the weight slowly -- but not adequately to 'control' airspeed. The pilot could throw payload overboard (reducing speed), but there is no practical way to gain weight during flight. Weight is an unsatisfactory way for the pilot to control airspeed.
$S$ - Some high lift devices can be considered to change the wing area (though engineers would likely leave the reference area unchanged) -- and a morphing wing might be able to change wing area in flight. So someday, wing area may be a control for airspeed. However, for most conventional aircraft today, the pilot can not change the wing reference area in flight.
$\rho$ - The air density changes with altitude and with temperature (hot or cold day conditions), but a pilot that wants to fly at a given altitude (say 10,000 ft.) does not have the ability to change the density of air.
That leaves us with $C_L$, the lift coefficient.
$C_L$ - The lift coefficient is controlled by the pilot by either the elevator, or the elevator trim. Since we are talking about equilibrium, let's focus on the trim change. Changing the trim changes the lift coefficient (and angle of attack) where the pitching moment on the aircraft is zero. (If you don't understand the details of trim, let us know, we can explain that too.)
By decreasing $C_L$ (nose down trim, decrease pitch), we increase speed.
By increasing $C_L$ (nose up trim, increase pitch), we decrease speed.
There you have it, "Pitch for Speed".
We can do the same thought experiment with the rate of climb equation, but it is already in the form we need...
$RoC = (T-D)V/W$
At a given moment in flight, if the pilot wants to change rate of climb, what can they do to the RHS of the equation to make it happen?
The only satisfactory control variable is Thrust -- which is controlled by throttle.
"Throttle for Rate of Climb".
One fun thing about this is to imagine that instead of a pilot operating a given aircraft, you are an aircraft designer. The equations are the same, but your perspective on them changes...
$V = \sqrt{ \frac{2\, W}{C_L\, \rho\, S}}$
Now perhaps you want the aircraft to fly efficiently at a given flight condition ($V$, $\rho$).
Perhaps by 'efficiently', you mean that you want to fly at the best lift-to-drag ratio. This occurs at a specific value of lift coefficient, we'll call it ${C_L}^*$.
That leaves the aircraft designer with control over the wing loading $W/S$ -- one of the most important aircraft design parameters. It is the scaled version of "how big is the wing".
Similarly, the other main aircraft design parameter is "how big is the engine". The scaled version of that is the thrust to weight ratio "T/W". If you look back at the rate of climb equation and imagine yourself an aircraft designer, I think you'll see the importance of $T/W$.
Let us know if you need further explanation of any of the steps I skipped.