Most journals use double blind reviews (where the reviewers are anonymous to authors and vice versa), but few journals publish the reviewers' comments alongside the authors’ responses in an open review.
When the authors (through the corresponding author) submit a manuscript to journal, a technical editor takes an initial perusal on the document and decides whether the manuscript meets the basic standard criteria for publication such as referencing style and formatting and lies within the journal's scope for publication, hence can move forward with the document at this point. If not, the manuscript is desk-rejected and is never sent for reviewing. Depending on the journal, most manuscripts are rejected at this stage.
If the manuscript meets this criteria, the editor then sends it (I think) to three or four reviewers who have expertise in the field but have no conflict of interest to this research. It is assumed that the anonymous reviewers will make independent
decisions which will form the basis for consideration in rejecting or not rejecting the manuscript. The reviewers critically read the manuscript and comment on novelty, significance, technical quality and the possible research impact if published.
To some authors, the reasons for rejecting the manuscript looks minor and is not related to the main idea of the proposition, hence wonders whether they should submit a rebuttal to the editors decision (refer the previous discussion by Mumtaz Ali, May 2020: https://www.researchgate.net/post/rebuttal_to_editors_decision).
To the beginners or newbies in competitive research, the rejection of a manuscript can be extremely frustrating and too hard to cope with especially when when the reason for not considering the manuscript for publication is minor and largely unsubstantiated. It sometimes evokes negative responses from the author (refer the previous discussion by Panayiotis Koutentis, November 2013: https://www.researchgate.net/post/When_should_you_challenge_an_editors_decision_to_reject_a_paper)
which may affect their future authorship and submission to the journal.
It is particularly hard to deal with the first rejection when the author looked for the most suitable journal for their paper but will be better placed if the rewrite the manuscript and send it to another prioritized journal. Nevertheless, the authors may be experienced in the field and be well informed in the subject of research and may have preference to this particular journal. What if the authors decide to send a rebuttal to the editors' decision? Will the editors care to read a contrary response and provide a feedback? Is there any chance that the editors will consider it and rescind their decision on the manuscript?