It is difficult to pick competent reviewers for each article. Since the editors are not sure of scientific soundness of reviews, they do not make them available to the scientific debate.
Of course, reviews and answers of authors should be published.
In such journals each article is presented as a ready product. Owners of such journals are not interested in changing the status of articles that can happen as a result of scientific discussion.
Dear @Vladimir, it is hard for me to say why electronic scientific journals do not publish reviews and answers of authors in spite of the fact that this is a very useful feedback.
Very large commercialization of scientific journals is present nowadays. That is the main reason for rare publishing of reviews and answers of the authors! Today, MONEY is the issue!
Behind a very few journals, the discussion of reviewers is possible at the Scientific Conferences (I like those rich discussions which start in presentation room and finish in the restaurant), as well as we can discuss reviewers remarks here at ResearchGate!
In few instances some biased decisions of reviewers / editors may be revealed up to public, few casual reviewers may also be identified in this process and also question will also be put up -- in cases where a paper has been rejected by low IF journal and it gets published in a comparatively high IF journal.
Perhaps if reviews and authors' answers were to first be edited for public release, and had to be approved by both the referees and authors before those edited remarks were published online, then this would be more feasible.
Reviews and the answers of author should be published in the section "Reviewing of article". The article should be the hyperlink to this section. The material in this section is published "as is". Admissible only technical editing.