------------------------------------------ Choice A
If all sides are congruent, then this figure is a rhombus (by definition). If all angles are congruent, then we have a rectangle. Combine the properties of a rhombus with the properties of a rectangle and we have a square.
In terms of "algebra", you can think rhombus+rectangle = square
Or you can draw out a venn diagram. One circle represents the set of all rhombuses; another circle represents the set of all rectangles. The overlapping region is the set of all squares. The overlapping region is inside both circles at the same time.
So we can rule out choice A. This guarantees we have a square when we want something that isn't a guarantee.
------------------------------------------ Choice B
If we had a parallelogram with perpendicular diagonals, then we can prove that we have a rhombus (all four sides congruent). However, we don't know anything about the four angles of this parallelogram. Are they congruent? We don't know. So we can't prove this figure is a rectangle. The best we can say is that it's a rhombus. It may or may not be a rectangle. There isn't enough info about the rectangle & square part.
This is why choice B is the answer. We have some info, but not enough to be guaranteed everytime.
------------------------------------------ Choice C
This is a repeat of choice A. Having "all right angles" is the same as saying "all angles congruent". This is because "right angle" is the same as saying "90 degrees". So we can rule out choice C for identical reasons as we did with choice A.
------------------------------------------ Choice D
As mentioned before in choice A, if we know that a quadrilateral is a rectangle and a rhombus at the same time, then the figure is also a square. This is always true, so we are guaranteed to have a square. We can cross choice D off the list.