I watched this video by Michael Penn:
https://www.youtube.com/watch?v=no7VzKmcyIg&ab_channel=MichaelPenn
The problem is find all $x,y,z \in \mathbb{N}$ such that:
$$ x^3 + 2y^3 + 4z^3 = 9!$$
The problem starts at about: 16:48 , however I have a question about the end of the solution..:
At the 33:33 he made a chart with $n, n^3 , 2n^3$ and he proved there is not combination of $n$ such that $2a^3 + c^3 = 52$
But my question is - who said $a$ and $c$ depend on $n$? this goes against my intuition of solving a Diophantine equation.. let's say we have this equation: $2a + c = 4$
So I know $c$ must be even - but using Michael's way I can just do this: $2n + n = 4 \Rightarrow 3n = 4 \Rightarrow \text{no natural solutions}$ But there are! $a = 1 , c = 2$ for example.
So I don't understand this argument of saying they both depend on the same variable..
Hope I was clear enough, thank you!

There is no dependence on $n$ anywhere. Your teacher is just making a table of possible cubes and double cubes. Consider trying to solve $2a+2b=5$ in the natural numbers. The possible values of $2a$ are $2,4,6$ (as well as larger numbers) and the possible values of $2b$ are $2,4,6$ (as well as larger numbers). No combination of those possibilities gives $5$. So there is no solution.
That's what your teacher has done. He has $n$ in the table to make the table understandable, but that is all $n$ is used for. It is not inserted into the equation anywhere.