Are you seeing this the inspector or the actual source code of the page?
<p> elements cannot be nested, so you can’t use a paragraph as a container for other paragraphs. The browser assumes a </p> before the next open <p>.
You need to use a div or some other type of block element as your container.