Dear Student,
As per the Business Entity Concept, business and its owners both are two separate identities. Both of them are different persons in accounting terms. Therefore, whatever capital is contributed by the owner is treated as a liability for the business and shown on the credit side (Rules of Accounting: Increase in capital is credited).
Regards