A scrambled Rubik's Cube can look chaotic, but the number of moves needed to solve it is smaller than most people expect. In theory, any legal 3x3 cube position can be solved in 20 moves or fewer in the half-turn metric. This is often called God's number.
In practice, solver apps are built for fast, clear results, not always for proving the absolute shortest possible sequence.
The difference between optimal and practical
An optimal solver searches for the shortest solution. That can be computationally expensive. A practical solver returns an efficient solution quickly enough to use in real life.
For a mobile app, speed and reliability matter. You want a valid move sequence, not a long wait.
Why your solution length varies
Two scrambles can look equally messy but require different move counts. The method, metric, cube size, and solver strategy all affect the length of the returned solution.
The 2x2 cube is smaller, but it still has enough possible states to surprise beginners.
Move count is not everything
A shorter solution can be harder to follow if it uses unfamiliar moves quickly. For casual solving, a slightly longer animated solution may be easier than a shorter raw move string.
That is why Rubix Solver focuses on a visual step-by-step flow.