Here are a few reasons why your plecostomus might be eating goldfish:
1. Inadequate Diet: If your plecostomus is not receiving a balanced diet that meets its nutritional needs, it may resort to eating other fish to supplement its diet. Make sure to provide a variety of food options such as algae wafers, sinking pellets, and fresh vegetables like zucchini and cucumber.
2. Overcrowded Tank: Overcrowding can lead to competition for food and space, and in such situations, plecostomus may become aggressive and prey on smaller fish. Ensure that your tank has enough room for all of its inhabitants and consider increasing the tank size if necessary.
3. Lack of Hiding Places: Plecostomus are nocturnal and appreciate having hiding spots in their tank. If they feel stressed or exposed, they may resort to aggressive behaviors, including eating other fish. Provide plenty of hiding places such as caves, driftwood, and plants.
4. Boredom: Plecostomus are intelligent fish and may become bored if their environment lacks stimulation. Provide them with objects to explore and interact with, such as driftwood, rocks, and floating plants.
5. Individual Temperament: Some plecostomus may have a more aggressive temperament than others and may be more likely to prey on other fish. If you notice this behavior, it may be best to separate the plecostomus from the goldfish or provide additional hiding spots and food sources.