What are these?

Half of the apples on my tree have these strange things on them. Does anyone know what they are? Are they still edible?