N and P are both sp3 hybridised and both have 1 lone pair each.
But N is more electronegative than P
So, the electrons that are present in the covalent bond between N-H will be closer to the N atom than in the case of P-H bond. As the bonded electrons are closer to the N-atom, there will be greater repulsion between them increasing the bond angle between them
So bond angle of H-N-H is greater than H-P-H



