Phrase: Painting was nailed to the wall.

Why ‘into’ isnt used in this context?

Painting was nailed to the wall.

Because the painting is not in the wall; only the nail is. The nail was nailed into the wall.

Thank you Mister Micawber.