It literally is - your brain chemistry changes and you basically enjoying having children despite the fact that it is objectively unpleasant and net drain on all of your resources.
Subjectively you will feel good about it despite that due to your brain being hijacked into interpreting the whole experience as positive.