How it works
この (this) attaches to the noun to point it out — “this medicine”. は (topic) then raises that as the topic, and the い-adjective まずい (tastes bad) closes the sentence on its own. い-adjectives don’t need です (is) to stand as a full sentence, so this plain ending sounds casual.