Why does the water is coming through the top of the wall in the basement?
There are different areas of leakage in the foundation, as we cannot see the foundation from outside. There are common signs that we should pay attention to.
If the water is coming from the top, the first thing you should consider is soil grading near the wall. The slope should go away from the house.
The second thing to consider is the finish of the house. It is common with a poor tuckpointing or insulation, and even siding panels when the water is getting under the veneer, cause damage to the wall, and leaks inside of the basement.