Master cylinder leak ????

Bad seals are allowing the fluid to back flush so when you push the brake peddle fluid is moving in both directions.

Bad master cylinder seals...it did same thing on old master and new