If you test your water it would help. You have not listed your water readings for either tank, so you don't really know if your 25 gallon tank is cycled...
Otoes are VERY sensitive to water conditions. If you have high nitrates in your 10 gallon from having 17 fish in it, this could account for their behavior.
Are you doing water changes? If so, how much and how often?
I would recommend you get the API Master test kit for freshwater, and start testing your tanks every day until you get this all sorted out. Any time your nitrates get up to 20 in your 10 gallon you should be doing 25% water changes until it comes back down...It may take several every day for awhile.
