I have to say that I would do the same thing, and have, with my children and sleepovers, or any other plans. They've always known that we prefer to have at least 24 hour notice of things, so that our schedule can accommodate their schedules, and vice versa. In our family, that's part of having respect for one another, and not really an issue of trust.
Without knowing you or your parents, it's difficult to say why they react to things the way they do. I am sure they are doing what they think is best for you and your well-being. And who knows? In the future, you may even come to realize they were right!
