Inflammation in the muscles is known as myositis, and it can have many possible causes, including infection, injury, autoimmune disorders and side effects of drugs. If left untreated, the condition can worsen over time, exacerbating weak, aching and painful muscles.