Why does Oliver in Hannah Montana make cheese jerky although he is Jewish and complains about food being kosher?

You're right to notice that there's a bit of a contradiction there! Oliver's "cheese jerky" is actually a bit of a running gag on "Hannah Montana."

While the show's creators likely didn't intend to make a statement about Jewish dietary laws, the fact that Oliver is portrayed as Jewish, combined with his complaints about kosher food, can be seen as a bit of a misstep.

Here are a few reasons why it might have happened:

* Comedy over accuracy: The show's focus was on light-hearted entertainment, and they were probably more concerned with creating funny moments than being perfectly accurate about Jewish culture and traditions.

* Lack of sensitivity: It's possible that the writers weren't aware of the potential for the gag to be insensitive or offensive to some viewers.

* Character development over realism: The show's focus was on Hannah Montana, and Oliver's character was mostly defined by his comedic interactions with Miley. His Jewish identity was not a major focus.

Regardless of the reason, it's important to acknowledge that the "cheese jerky" gag could be seen as insensitive, as it plays on stereotypes about Jewish food preferences. While it's possible that the writers didn't intend to offend anyone, it's a good example of how even seemingly harmless jokes can be hurtful when they rely on stereotypes.