I taught a couple years in a secondary school, where teachers are supposed to explain every little step in the simplest but accurate way.
In high school things don't change much. Perhaps the pace is a little faster but still the goal is to be as clear as possible. Teachers are supposed to use pictures, animations and justify every step when solving problems.
In the university things are a lot different. We get exercises every week and solutions are extremely compact. I don't mean to show every little step when computing a determinant of a $3\times 3$ matrix but often one reads "one implication is trivial, one can (easily) see that, it is clear that..." and so on, which makes me personally feel incompetent because most of the times I don't easily see what I'm supposed to. At least in secondary school, it is mandatory to avoid using words such as "trivial, easy" and so on because of that reason. Still, some teachers do it and some believe this to be one of the causes of the spread of anxiety for mathematics, which certainly hinders the learning process even more.
This applies to this platform as well. The style completely changes. Why is that so? Are compact solutions more elegant? Are mathematicians just lazy?
In school, mathematics lessons largely focus on teaching you how to follow certain algorithms, so it's important to spell out every step well enough each student will get the hang of it. But from the undergraduate level onwards, you're being trained to write proofs for mathematicians. There are two key challenges here: inculcating the right vocabulary, and ensuring a proof's author and reader see the forest for the trees. As I've discussed here, the latter goal often requires concision, some of which makes the reader write half the proof in their head.
Some concision techniques serve both goals simultaneously. For example, "it's trivial" not only keeps the write-up short (partly by leveraging the reader as aforesaid), but also trains the reader to do the same when they write a proof. For example, if I have to use a fact of the form $\sum_{k=1}^na_k=b_n$ in a proof, I'm not going to write out a proof by induction before I move on. What would be the point? If anything, the reader might get lost. "Wait, why do we care again? Wait, what were we working on? Wait, what was it we proved before they're using now?"
Teachers at every level train students to write what they're expected to. In an exam, you show your work so if you make a mistake you can get partial credit. (That's what I was already told, anyway; how you're supposed to work out the answer without some work you might as well write down is a separate issue.) In a paper you're preparing for publication, you keep it short because they don't want to allow you many pages, nor do readers want you to waste their time. If I saw someone waste four lines on a trivial induction proof in a 7-page paper that's trying to teach the mathematics community something new, I'd be gobsmacked. That's four lines that could have gone towards one of the less trivial things that made the paper worthwhile.
Much of this comes down to chunking. Once you've learned how to do something that has several parts, it can become one part in learning to do something else etc. This is as true of writing proofs as it is of executing algorithms. Before you know it, 1,000 pages of secondary school textbooks will feel like the contents of a post card in your mind. So don't sweat what you're struggling with now; you'll be surprised how quickly it all becomes second nature.
Edit at @BCLC's suggestion: the concision I described can be preferable to relegating details to appendices because, whereas certain steps can break the flow even if brief, appendices are reserved for examples that nevertheless cannot be omitted due to being non-obvious.