She realised how much her granny cared and loved her and therefore she kissed her granny’s forehead to show affection towards her.