Came across this clear, comprehensive guide which gives good explanations of when to use da vs di, a vs in etc. This comes up a lot. I printed it out and keep it handy for those times when the reason for choice of preposition in a Rocket sentence isn't clear. Rocket covers this information, but it's scattered around, or else I haven't yet gotten to the section focusing on prepositions.
https://www.clozemaster.com/blog/italian-prepositions/