It seems that
the actress met Brad’s children while passing by to leave a magazine.
It feels like it was yesterday when Jennifer and Brad were actually a thing. They were married for 5 years, since 2000 until 2005, and then Brad started a relationship with Angelina Jolie, but they weren't married until 2014.
However, according to In Touch, Jennifer had met with some of the children of Brad’s second marriage and supposedly was seen talking with Shiloh, their firstborn.
The magazine also stated that the kids are familiar with Jennifer, even though they hadn't met her until now, they know who she is. Maddox and Pax weren't at the house when Jennifer was there.
Based on materials: celebrityinsider.org