It's natural to feel disappointed when someone you've been accommodating and supportive of suddenly withdraws from spending time with you due to a minor inconvenience like a scratched car. While it's possible that there may be other factors contributing to his decision, it's understandable that you feel offended, especially after extending hospitality and friendship for such a long time.
If you feel comfortable doing so, it might be worth having an open and honest conversation with your friend about how his decision makes you feel. Communication can help clarify the situation and provide insights into his reasoning. However, it's essential to approach the conversation with empathy and understanding, as there could be reasons you're unaware of that led to this change in behavior.
Remember that people's priorities and circumstances can change, and it's not uncommon for friendships to evolve over time. If your friend's decision is genuinely based on the car incident, he might reconsider once emotions settle or if you discuss the matter calmly. If not, it might be an opportunity to reflect on the nature of the friendship and whether it has been truly reciprocal and meaningful.
In any case, try not to dwell on offense or resentment. Focus on fostering connections with people who value your friendship and the effort you put into your relationships.