I'm having some work done on my house. Just simple updates. This has required several different tradesmen with different skills learnt over an apprenticeship, and kept up to date by having continuous work in that speciality. Just to do simple updates to a standard house.
How many people would be needed to support those tradesmen? How long would a Martian colony last if unable to do that kind of simple job to maintain the colony?
Now look at the industry needed to produce high technology. Hundreds of small firms doing specialised jobs, each with their own skills. How is a Martian colony going to reproduce all those?
Now look at computer chips, which are now utterly essential to run our tech. These are cheap because they are sold in vast numbers, but they are produced in factories that cost multiple billions. How is a small colony going to economically produce the very large number of different chips needed to keep its tech going?
Or just the people and resources needed to mine and refine the materials needed.
I very much doubt that a colony without those resources could survive on Mars.