There is a logical explanation for all of this.
Your friend, a crazy-eyed scientist invented a "time machine", and in this "time machine" you traveled back to say...1983 when the baby daddy and baby momma were in high school. You ignited a romantic spark between the two, and their tribute to you is naming their first born...and you know the rest.