From the start. Constructed from the basics. ‘Scratch’ refers to the beginning , so from scratch is to start anew.
“I made a cake from scratch rather than from a box mix.”
“After our house fire we had to reconstruct our finances from scratch.”