Apps from unofficial sources skip the vetting that app stores provide, making them a common malware delivery route. Installing only from trusted, official stores keeps the store's safeguards between you and a malicious app.
“Off-store apps come without the bouncer.”