Answer :

Austria-Hungary was an imperial power and it sough to  have control over other countries. It already had control over Bosnia- which explains why Bosnians were angry, as they presumably wanted independence.

Serbians were afraid they might be annexed by Austria next, and on top of that, they had aspirations for Bosnia for themselves.