وَعَلَى الْمَوْلُودِ لَهُ رِزْقُهُنَّ وَكِسْوَتُهُنَّ
And the one to whom the child is born is responsible for their food and clothing.
The direct purpose concerns financial maintenance, understood through ibarat al-nass. The wording also carries an implication concerning attribution of the child to the father, discussed under isharat al-nass. The test is whether the legal meaning is the text's direct purpose or an accompanying implication.