Question: apple are on the tree?
Answer: If I hid some apples among the leaves of my lemon tree, they'd be in the tree. But I think you mean that it's an apple tree, and the apples are actually growing on the tree. In which case, they're on the tree.