Ok your question is a little ambiguous but I'll try.
a. Why should it happen? - If you look at Na, it has a lone electron in its outer shell and that essentially unbalances the atom, so it prefers to lose it and become an ion, this is almost spontaneous and hence requires less energy. When $\ce{Na+}$ joins up with $\ce{Cl-}$ they neutralise the electrostatic charge introduced by them becoming ions, releasing more energy. More energy because they have gone from an energy state A (medium energy) to B (higher energy) to become an ion. Then when they come together they both, each atom, falls to a lower energy state C than state A even and hence the change (NB) from B to C is greater than the change from A to B. In your book the change from my A to B is the change of an electron ( first two equations in your book) and then my change from B to C is the Na + Cl part.
b. How do attractive forces tend to reduce energy? - This is an important one to note the point of the text book, which is pretty badly written if you ask me, is referring to the energy of the system and not the energy of attractive forces. When it says system it means the newly bonded together $\ce{NaCl}$. The energy is reduced because of the neutralisation mentioned above. Positive and negative prefer to be neutral and hence, are attracted to one another. But before that, you must realise that being charged or an 'ion' is less stable and therefore in a state of higher energy than a neutral system. So it is a matter of stability as well.
If you want quantum explanations please say but I get the feeling you'd prefer the simpler option.
I hope this helps, even if only a bit.