Why are some patent applications not for protection, but for advertising? Who gave you publicity? Is this the patent office? Please answer

Patents can be granted in exchange for protection by publishing technology. There was an announcement before the authorization was given to you, but it was not as extensive as the media. The layman can't see that if you don't disclose your content to all relevant institutions, the content of the next patent application will be repeated.