Larry Mcenerney's lectures on how to write effectively are gold for getting better at writing. There's a lot packed in his lectures, but a big core idea is that you should use writing to help you do your thinking. With complex subject matter, writing is thinking. The thing that we've been taught is writing is more akin to publishing (i.e. the editing you do to share your thoughts with other people after you've finished writing and thinking for yourself).
Link to snippets of his talk if you're short on time: https://twitter.com/LBacaj/status/1668446029610352641
If you've got more time, you should watch the whole thing, it's a masterclass in understanding what writing actually is, and what it does for you: https://www.youtube.com/watch?v=vtIzMaLkCaM